+<%
+@name = printable_name @relation
+@title = t('browse.relation.relation') + ' | ' + @name
+%>
<table width="100%">
<tr>
<td>
- <h2>Relation: <%= h(@name) %></h2>
+ <h2><%= t'browse.relation.relation_title', :relation_name => h(@name) %></h2>
</td>
<td>
<%= render :partial => "navigation" %>
<td>
<%= render :partial => "relation_details", :object => @relation %>
<hr />
- <%= link_to "Download XML", :controller => "relation", :action => "read" %>
- or
- <%= link_to "view history", :action => "relation_history" %>
- </td>
- <td align="right">
- <% if @relation.visible %>
- <%= render :partial => "map", :locals => { :type => "relation", :id => @relation.id } %>
- <% else %>
- Deleted
- <% end %>
+ <%= t'browse.relation.download', :download_xml_link => link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read"),
+ :view_history_link => link_to(t('browse.relation.view_history'), :action => "relation_history") %>
</td>
+ <%= render :partial => "map", :object => @relation %>
</tr>
</table>