X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/060d6086ca8b1d5791c6116484c1267659bee812..06a17b6bc649daeada37e13d737816cd3d677640:/app/views/changeset/_changeset.html.erb?ds=sidebyside diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index f8f00addb..d76e97326 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 => :long %><% 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')} %> - -