]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/_comments.html.erb
Moved strings to locales + Added 'Issues' button + Fixed typo in tests
[rails.git] / app / views / issues / _comments.html.erb
1 <div class="issue-comments">
2 <% comments.each do |comment| %>
3         <div class="comment">
4                 <div style="float:left">
5                         <%= link_to user_thumbnail(comment.user), :controller => :user,:action =>:view, :display_name => comment.user.display_name %>
6                 </div>
7                 <b> <%= link_to comment.user.display_name, :controller => :user,:action =>:view, :display_name => comment.user.display_name %> </b> <br/>
8                 <%= comment.body %>
9         </div>
10         <span class="deemphasize">
11         On <%= l comment.created_at.to_datetime, :format => :long %> </span>
12         <hr>
13 <% end %>
14 </div>
15 <br/>
16 <div class="comment">
17         <%= form_for :issue_comment, :url => { :action => 'comment', :id => @issue.id, :user_id => @user.id } do |f| %>
18             <%= richtext_area :issue_comment, :body, :cols => 10, :rows => 8 %>
19         <%= submit_tag 'Submit' %>
20         <% end %>
21 </div>