X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/398d5fa3298b7aacea4a9cbddd0c4e5f8a9e6638..4c463ca6bab0b48fec2b35c93a0b46ab7284a7ca:/app/views/browse/_common_details.rhtml
diff --git a/app/views/browse/_common_details.rhtml b/app/views/browse/_common_details.rhtml
index ee5f22cee..179b22f60 100644
--- a/app/views/browse/_common_details.rhtml
+++ b/app/views/browse/_common_details.rhtml
@@ -1,22 +1,23 @@
- Edited at: |
- <%= h(common_details.timestamp) %> |
+ <%= t 'browse.common_details.edited_at' %> |
+ <%= l common_details.timestamp %> |
-<% if common_details.user.data_public %>
+<% if common_details.changeset.user.data_public? %>
- Edited by: |
- <%= link_to h(common_details.user.display_name), :controller => "user", :action => "view", :display_name => common_details.user.display_name %> |
+ <%= t 'browse.common_details.edited_by' %> |
+ <%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %> |
<% end %>
-<% unless common_details.tags_as_hash.empty? %>
-
- Tags: |
-
-
- <%= render :partial => "tag", :collection => common_details.tags_as_hash %>
-
- |
-
-<% end %>
+
+ <%= t 'browse.common_details.version' %> |
+ <%= h(common_details.version) %> |
+
+
+
+ <%= t 'browse.common_details.in_changeset' %> |
+ <%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %> |
+
+
+<%= render :partial => "tag_details", :object => common_details %>