X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bad57126c0cb9ff6824c5688bdf3974c2410ea5a..76708eefcffb6b451ce9c275db4bcaf23690f69d:/app/views/browse/index.rhtml?ds=inline
diff --git a/app/views/browse/index.rhtml b/app/views/browse/index.rhtml
index d4a7b19ef..fa7e13ac0 100644
--- a/app/views/browse/index.rhtml
+++ b/app/views/browse/index.rhtml
@@ -1 +1,16 @@
-Welcome to the browse subpages!
+
<%= @changesets.length %> Recently Closed Changesets
+
+<% @changesets.each do |changeset|
+ if changeset.user.data_public?
+ user = changeset.user.display_name
+ else
+ user = "(anonymous)"
+ end
+
+ cmt = changeset.tags_as_hash['comment'].to_s
+ cmt = "(no comment)" if cmt.length == 0
+ text = "#{changeset.id} by #{user} - #{cmt}"
+%>
+ - <%= link_to h(text), :action => "changeset", :id => changeset.id %>
+<% end %>
+