diff --git a/public/style.css b/public/style.css index f17c1af..9b1f5f6 100644 --- a/public/style.css +++ b/public/style.css @@ -397,3 +397,8 @@ div.confirm_evaluation_button a.disabled { text-align: center; color: #000 !important; } + +.moderator { + margin-top: 15px; + margin-left: 10px; +} diff --git a/views/proposals_discussion_plugin_tasks/_task.html.erb b/views/proposals_discussion_plugin_tasks/_task.html.erb index 8547295..7a60aca 100644 --- a/views/proposals_discussion_plugin_tasks/_task.html.erb +++ b/views/proposals_discussion_plugin_tasks/_task.html.erb @@ -1,5 +1,5 @@
- +
<%= _('Source') %>: <%= task.proposal_source %>
<%= tag :a, name: "task-#{task.id}" %> <%= render :partial => 'task_icon', :locals => {:task => task} %> @@ -45,7 +45,17 @@
- + <% unless @view_only #MODERATOR VIEW %> +
+ <%= _('Moderator') %>: + <%= link_to(task.proposal_evaluation.evaluated_by.name, task.proposal_evaluation.evaluated_by.url) %> +   —   + + <%= _('Moderated at') %>: + <%= show_time(task.proposal_evaluation.created_at) %> + +
+ <% end %> <%= fields_for "tasks[#{task.id}][task]", task do |f| %> -- libgit2 0.21.2