Commit 52f0d7116c34662a69d13f7bee3272e62d9e44b4
1 parent
1d0d4350
Exists in
master
and in
5 other branches
Rename communities_ratings hotspot to organization_ratings
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Simiao Carvalho <simiaosimis@gmail.com>
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/software_communities_plugin.rb
@@ -75,7 +75,7 @@ class SoftwareCommunitiesPlugin < Noosfero::Plugin | @@ -75,7 +75,7 @@ class SoftwareCommunitiesPlugin < Noosfero::Plugin | ||
75 | end | 75 | end |
76 | 76 | ||
77 | module Hotspots | 77 | module Hotspots |
78 | - def display_community_average_rating community | 78 | + def display_organization_average_rating organization |
79 | nil | 79 | nil |
80 | end | 80 | end |
81 | end | 81 | end |
views/blocks/software_information.html.erb
@@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
28 | <%= block.owner.software_info.finality %> | 28 | <%= block.owner.software_info.finality %> |
29 | </b> | 29 | </b> |
30 | 30 | ||
31 | - <%= @plugins.dispatch(:display_community_average_rating, block.owner).collect { |content| instance_exec(&content) }.join("") %> | 31 | + <%= @plugins.dispatch(:display_organization_average_rating, block.owner).collect { |content| instance_exec(&content) }.join("") %> |
32 | </td> | 32 | </td> |
33 | </tr> | 33 | </tr> |
34 | </table> | 34 | </table> |