cirandas.net

ref: master

plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb


<%= _('Status for comment') %>

<% unless @comment.title.blank? %>
<%= c_("Title: %s") % @comment.title %>
<% end %> <%= c_('Body:') %>

<%= @comment.body %>

<%= c_("History") %>

    <% @comment.comment_classification_plugin_comment_status_users.each do |relation| %>
  • <%= _("%{user} added the status %{status_name} at %{created_at}.") % { :user => relation.profile.name, :status_name => relation.status.name, :created_at => time_ago_in_words(relation.created_at)} %> <% unless relation.reason.blank? %>

    <%= _("Reason: %s") % relation.reason %>

    <% end %>
  • <% end %>

<%= _("Add a new status") %>

<%= render :partial => 'status_form' %>