Commit 4ff6c9ecc4b2747d8e2358d5cba047802ef35a79

Authored by Tallys Martins
1 parent a0f60fb4

Adds hint for ratings count on organization ratings

Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
plugins/organization_ratings/views/blocks/average_rating.html.erb
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <div class="medium-star-negative"></div> 14 <div class="medium-star-negative"></div>
15 <% end %> 15 <% end %>
16 <% end %> 16 <% end %>
17 - <div class="total-ratings"> 17 + <span class="total-ratings hint" title="<%=_("Total amount of ratings") %>" >
18 <%= link_to url_for(:controller => 'organization_ratings_plugin_profile', :action => 'new_rating', :anchor => 'ratings-list') do %> 18 <%= link_to url_for(:controller => 'organization_ratings_plugin_profile', :action => 'new_rating', :anchor => 'ratings-list') do %>
19 <% if(statistics[:total] > 10000) %> 19 <% if(statistics[:total] > 10000) %>
20 <%= "(10000+)" %> 20 <%= "(10000+)" %>
@@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
22 <%= "(#{statistics[:total]})" %> 22 <%= "(#{statistics[:total]})" %>
23 <% end %> 23 <% end %>
24 <% end %> 24 <% end %>
25 - </div> 25 + </span>
26 </div> 26 </div>
27 <% else %> 27 <% else %>
28 <div class="rating-invitation"> 28 <div class="rating-invitation">