]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.rhtml
more translations, and this time with stuff in the locale file too
[rails.git] / app / views / browse / _common_details.rhtml
index 71a9dd3145726476b610e3e3f044136c034e0506..179b22f60813add46ec6a752d627e7bc404b46e9 100644 (file)
@@ -1,32 +1,23 @@
 <tr>
-  <th>Edited at:</th>
-  <td><%= h(common_details.timestamp) %></td>
+  <th><%= t 'browse.common_details.edited_at' %></th>
+  <td><%= l common_details.timestamp %></td>
 </tr>
 
 <% if common_details.changeset.user.data_public? %>
   <tr>
-    <th>Edited by:</th>
+    <th><%= t 'browse.common_details.edited_by' %></th>
     <td><%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %></td>
   </tr>
 <% end %>
 
 <tr>
-  <th>Version:</th>
+  <th><%= t 'browse.common_details.version' %></th>
   <td><%= h(common_details.version) %></td>
 </tr>
 
 <tr>
-  <th>In changeset:</th>
+  <th><%= t 'browse.common_details.in_changeset' %></th>
   <td><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></td>
 </tr>
 
-<% unless common_details.tags_as_hash.empty? %>
-  <tr valign="top">
-    <th>Tags:</th>
-    <td>
-      <table padding="0">
-        <%= render :partial => "tag", :collection => common_details.tags_as_hash %>
-      </table>
-    </td>
-  </tr>      
-<% end %>
+<%= render :partial => "tag_details", :object => common_details %>