X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/09c2725fc9791a1783bf757dd637590a67a3ee28..9968ea4308e6b6864fea9bf49b8f45fcc5bd118c:/app/views/changeset/_changeset.html.erb diff --git a/app/views/changeset/_changeset.html.erb b/app/views/changeset/_changeset.html.erb index 8ac433415..b682f1b4b 100644 --- a/app/views/changeset/_changeset.html.erb +++ b/app/views/changeset/_changeset.html.erb @@ -2,19 +2,24 @@ <% 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 %> <%if showusername %> <% if changeset.user.data_public? %> - <%= link_to h(changeset.user.display_name), :controller => "changeset", :action => "list_user", :display_name => changeset.user.display_name %> + <%= link_to h(changeset.user.display_name), :controller => "changeset", :action => "list", :display_name => changeset.user.display_name %> <% else %> <%= t'changeset.changeset.anonymous' %> <% end %> @@ -25,7 +30,7 @@ <% if changeset.tags['comment'] %> <%= h(changeset.tags['comment']) %> <% else %> - <%= t'changeset.changeset.no_comment' %> + <%= t'changeset.changeset.no_comment' %> <% 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')} %> - -