]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_changesets.html.erb
Rename views to rails 2 style names.
[rails.git] / app / views / changeset / _changesets.html.erb
diff --git a/app/views/changeset/_changesets.html.erb b/app/views/changeset/_changesets.html.erb
new file mode 100644 (file)
index 0000000..d9e0123
--- /dev/null
@@ -0,0 +1,14 @@
+<% showusername = true if showusername.nil? %>
+<table id="changeset_list" cellpadding="3">
+  <tr>
+    <th><%= t'changeset.changesets.id' %></th>
+    <th><%= t'changeset.changesets.saved_at' %></th>
+<% if showusername %>
+    <th><%= t'changeset.changesets.user' %></th>
+<% end %>
+    <th><%= t'changeset.changesets.comment' %></th>
+    <th><%= t'changeset.changesets.area' %></th>
+    <th></th>
+  </tr>
+  <%= render :partial => 'changeset', :locals => {:showusername => showusername}, :collection => @edits unless @edits.nil? %>
+</table>