]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list_user.rhtml
Add 'history' tab + Move 'recent changes' changeset list to re-use the same _changese...
[rails.git] / app / views / changeset / list_user.rhtml
diff --git a/app/views/changeset/list_user.rhtml b/app/views/changeset/list_user.rhtml
new file mode 100644 (file)
index 0000000..a2096ad
--- /dev/null
@@ -0,0 +1,15 @@
+<h1>Edits by <%= link_to(@display_name, {:controller=>'user', :action=>'view', :display_name=>@display_name}) %></h1>
+<%= render :partial => 'changeset_paging_nav' %>
+
+<table id="keyvalue" cellpadding="3">
+  <tr>
+    <th>ID</th>
+    <th>Saved at</th>
+    <th>Comment</th>
+    <th>Area</th>
+    <th></th>
+  </tr>
+  <%= render :partial => 'changeset', :locals => {:showusername => false},  :collection => @edits unless @edits.nil?  %>
+</table>
+
+<%= render :partial => 'changeset_paging_nav' %>