X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/060d6086ca8b1d5791c6116484c1267659bee812..bda35008c89e15991ea88c73ad0036c9e4e53465:/app/views/changeset/_changeset.html.erb?ds=inline diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index f8f00addb..b682f1b4b 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -2,12 +2,17 @@ <% cl = cycle('table0', 'table1') %> - #<%= changeset.id %> + <%= + id_link = link_to(changeset.id, + {:controller => 'browse', :action => 'changeset', :id => changeset.id}, + {:title => t('changeset.changeset.view_changeset_details')}) + t'changeset.changeset.id', :id => id_link + %> <% if changeset.closed_at > DateTime.now %> <%= t'changeset.changeset.still_editing' %> - <% else %><%= changeset.closed_at.strftime("%d %b %Y %H:%M") %><% end %> + <% else %><%= l changeset.closed_at, :format => :short %><% end %> @@ -48,8 +53,4 @@ %> - - <%= link_to t('changeset.changeset.more'), {:controller => 'browse', :action => 'changeset', :id => changeset.id}, {:title => t('changeset.changeset.view_changeset_details')} %> - -