]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset_comments/_comment.html.erb
Split changeset comment handling into a changeset_comments controller
[rails.git] / app / views / changeset_comments / _comment.html.erb
diff --git a/app/views/changeset_comments/_comment.html.erb b/app/views/changeset_comments/_comment.html.erb
new file mode 100644 (file)
index 0000000..34b15ff
--- /dev/null
@@ -0,0 +1,6 @@
+<h2><%= t "changeset.rss.comment", :author => comment.author.display_name,
+  :changeset_id => comment.changeset.id.to_s %></h2>
+<div class="changeset-comment" style="margin-top: 5px">
+  <div class="changeset-comment-description" style="font-size: smaller; color: #999999"><%= t "changeset.rss.commented_at_by_html", :when => friendly_date(comment.created_at), :user => comment.author.display_name %></div>
+  <div class="changeset-comment-text"><%= comment.body %></div>
+</div>