]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/_comments.html.erb
Changed report button + Added disclaimer on report page + Added search filter
[rails.git] / app / views / issues / _comments.html.erb
index 3e236fb8e6c9df2642cd5e386a841a33e5bf50ef..52f740b0967191576a4aec34e5960d09f0d6f29e 100644 (file)
@@ -1,3 +1,4 @@
+<div class="issue-comments">
 <% comments.each do |comment| %>
        <div class="comment">
                <div style="float:left">
@@ -5,14 +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>
        <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 => 80, :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