Commit 218a0bc12d1d3ac37e3929c91c587565a25097a1

Authored by Pedro de Lyra Pereira
Committed by Álvaro Fernando Matos de Souza
1 parent 8d24d6f6

Adding hotspot community ratings title

Signed-off-by: Pedro de Lyra Pereira <pedrodelyra@gmail.com>
Signed-off-by: Fábio Teixeira <fabio1079@gmail.com>
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
lib/software_communities_plugin.rb
... ... @@ -78,6 +78,10 @@ class SoftwareCommunitiesPlugin &lt; Noosfero::Plugin
78 78 Proc::new do _("Rate this software") end
79 79 end
80 80  
  81 + def communities_ratings_title
  82 + Proc::new do "<h1 class='title'>#{_("Use reports")}</h1>" end
  83 + end
  84 +
81 85 # FIXME - if in error log apears has_permission?, try to use this method
82 86 def has_permission?(person, permission, target)
83 87 person.has_permission_without_plugins?(permission, target)
... ...