]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/_comments.html.erb
fix build on wily; fix some moderation branch language constants
[rails.git] / app / views / issues / _comments.html.erb
index de4989afd1852e3de9ddda4025e4446a42db66cd..0992388d064c27ed28d3850ee569227ff5717537 100644 (file)
@@ -6,16 +6,24 @@
                </div>
                <b> <%= link_to comment.user.display_name, :controller => :user,:action =>:view, :display_name => comment.user.display_name %> </b> <br/>
                <%= comment.body %>
+
+               <% if comment.reassign %>
+                       <br/>
+                       <i><%= t('issues.show.comments.reassign') %></i>
+               <% end %>
        </div>
        <span class="deemphasize">
-       On <%= l comment.created_at.to_datetime, :format => :long %> </span>
+       On <%= l comment.created_at.to_datetime, :format => :friendly %> </span>
        <hr>
 <% end %>
 </div>
 <br/>
 <div class="comment">
        <%= form_for :issue_comment, :url => { :action => 'comment', :id => @issue.id, :user_id => @user.id } do |f| %>
-           <%= richtext_area :issue_comment, :body, :cols => 10, :rows => 8 %>
+           <%= richtext_area :issue_comment, :body, :cols => 10, :rows => 8, :required => true %>
+           <%= label_tag t('issues.show.comments.reassign_param') %> <%= check_box_tag :reassign, true %> 
+           <br/>
+           <br/>
        <%= submit_tag 'Submit' %>
        <% end %>
 </div>
\ No newline at end of file