X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a32033209545a69d60cbd551e6bd975cda64341..9968ea4308e6b6864fea9bf49b8f45fcc5bd118c:/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..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')} %> - -