X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9e1946b2837abe146777773177f4c48ffde8c06f..e192c779862acdde8b0191faca8a2910f2008719:/app/views/browse/_common_details.rhtml
diff --git a/app/views/browse/_common_details.rhtml b/app/views/browse/_common_details.rhtml
index 968594bb6..09cf4cf2d 100644
--- a/app/views/browse/_common_details.rhtml
+++ b/app/views/browse/_common_details.rhtml
@@ -3,25 +3,21 @@
<%= h(common_details.timestamp) %> |
-<% if common_details.changeset.user.data_public %>
+<% if common_details.changeset.user.data_public? %>
Edited by: |
<%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %> |
<% end %>
+
+ Version: |
+ <%= h(common_details.version) %> |
+
+
In changeset: |
- <%= common_details.changeset_id %> |
-
<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
+
-<% unless common_details.tags_as_hash.empty? %>
-
- Tags: |
-
-
- <%= render :partial => "tag", :collection => common_details.tags_as_hash %>
-
- |
-
-<% end %>
+<%= render :partial => "tag_details", :object => common_details %>