Commit f80ead1832eab7988562412a84d766797f644b7e
1 parent
c7c3a74b
Exists in
master
and in
5 other branches
Add block title to software block
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
lib/softwares_block.rb
@@ -81,7 +81,7 @@ class SoftwaresBlock < CommunitiesBlock | @@ -81,7 +81,7 @@ class SoftwaresBlock < CommunitiesBlock | ||
81 | block = self | 81 | block = self |
82 | 82 | ||
83 | proc do | 83 | proc do |
84 | - render :file => 'blocks/main_area_softwares', :locals => { :profiles=> block.profile_list() } | 84 | + render :file => 'blocks/main_area_softwares', :locals => { :profiles=> block.profile_list(), :block => block } |
85 | end | 85 | end |
86 | else | 86 | else |
87 | super(arg) | 87 | super(arg) |
views/blocks/main_area_softwares.html.erb