]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.rhtml
Make a few more strings translatable in the diary entry controller
[rails.git] / app / views / browse / relation_history.rhtml
index f4b3e1faacf353acd019c97f1a6cfdfedbd70cec..45f3d14004c8daa508b1fc595021943ba20167dd 100644 (file)
@@ -1,4 +1,8 @@
-<h2>Relation History: <%= h(@name) %></h2>
+<%
+@name = printable_name @relation
+@title = t('browse.relation_history.relation_history') + ' | ' + @name
+%>
+<h2><%= t'browse.relation_history.relation_history_title', :relation_name => h(@name) %></h2>
 
 <table width="100%">
   <tr valign="top">
       or
       <%= link_to "view details", :action => "relation" %>
     </td>
-    <td align="right">
-      <% if @relation.visible %>
-        <%= render :partial => "map", :locals => { :type => "relation", :id => @relation.id } %>
-      <% else %>
-        Deleted
-      <% end %>
-    </td>
+    <%= render :partial => "map", :object => @relation %>
   </tr>
 </table>