X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..9968ea4308e6b6864fea9bf49b8f45fcc5bd118c:/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 6ec1de43c..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 %>
|
@@ -41,15 +46,11 @@
'><%= format("%0.3f",minlon) -%>,<%= format("%0.3f",minlat) -%>,<%= format("%0.3f",maxlon) -%>,<%= format("%0.3f",maxlat) -%>
<% if changeset.area > 1500000000000 %>
- <% t'changeset.changeset.big_area' %>
+ <%= t'changeset.changeset.big_area' %>
<%
end
end
%>
-
- <%= link_to t('changeset.changeset.more'), {:controller => 'browse', :action => 'changeset', :id => changeset.id}, {:title => t('changeset.changeset.view_changeset_details')} %>
- |
-