diff --git a/plugins/organization_ratings/views/tasks/_create_organization_rating_comment_accept_details.html.erb b/plugins/organization_ratings/views/tasks/_create_organization_rating_comment_accept_details.html.erb index 0632597..781b569 100644 --- a/plugins/organization_ratings/views/tasks/_create_organization_rating_comment_accept_details.html.erb +++ b/plugins/organization_ratings/views/tasks/_create_organization_rating_comment_accept_details.html.erb @@ -1,4 +1,19 @@
- <%= _("Comment:")%> - <%= "\"#{task.body}\""%> +
+ <% rating = OrganizationRating.find(task.organization_rating_id) %> + <% (1..5).each do |star_number| %> + <% if star_number <= rating.value %> +
+ <% else %> +
+ <% end %> + <% end %> +
+
+ +
+ <%= _("Comment:")%> + <%= "\"#{task.body}\""%>\ +
+ <%= @plugins.dispatch(:organization_ratings_plugin_extra_fields_show_data, rating).collect{ |content| instance_exec(&content) }.join("") %>
-- libgit2 0.21.2