]> git.openstreetmap.org Git - rails.git/commitdiff
One last commit tonight :P
authorThomas Wood <grand.edgemaster@gmail.com>
Thu, 7 May 2009 23:02:46 +0000 (23:02 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Thu, 7 May 2009 23:02:46 +0000 (23:02 +0000)
app/views/changeset/_changesets.rhtml [new file with mode: 0644]

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