]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_changesets.rhtml
One last commit tonight :P
[rails.git] / app / views / changeset / _changesets.rhtml
diff --git a/app/views/changeset/_changesets.rhtml b/app/views/changeset/_changesets.rhtml
new file mode 100644 (file)
index 0000000..67e0904
--- /dev/null
@@ -0,0 +1,14 @@
+<% showusername = true if showusername.nil? %>
+<table id="changeset_list" cellpadding="3">
+  <tr>
+    <th>ID</th>
+    <th>Saved at</th>
+<% if showusername %>
+    <th>User</th>
+<% end %>
+    <th>Comment</th>
+    <th>Area</th>
+    <th></th>
+  </tr>
+  <%= render :partial => 'changeset', :locals => {:showusername => showusername}, :collection => @edits unless @edits.nil? %>
+</table>
\ No newline at end of file