diff --git a/lib/softwares_block.rb b/lib/softwares_block.rb index 9855c6f..d3e62d8 100644 --- a/lib/softwares_block.rb +++ b/lib/softwares_block.rb @@ -81,7 +81,7 @@ class SoftwaresBlock < CommunitiesBlock block = self proc do - render :file => 'blocks/main_area_softwares', :locals => { :profiles=> block.profile_list() } + render :file => 'blocks/main_area_softwares', :locals => { :profiles=> block.profile_list(), :block => block } end else super(arg) diff --git a/views/blocks/main_area_softwares.html.erb b/views/blocks/main_area_softwares.html.erb index 343a9c3..f2c9d45 100644 --- a/views/blocks/main_area_softwares.html.erb +++ b/views/blocks/main_area_softwares.html.erb @@ -1,3 +1,4 @@ +<%= block_title(block.title) %> <% profiles.each do |profile| %>
-- libgit2 0.21.2