]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
Revert [15752]: The duplication of content intentional for dead-tree
[rails.git] / app / views / site / index.rhtml
index f816dddd22004cd970d6412f5fef8c6904ad5c43..840fd9774eb02974c609819784824a1b71e93570 100644 (file)
@@ -1,6 +1,6 @@
 <% content_for :greeting do %>
 <% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %>
-<%= link_to_function t('site.index.home'), "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)" %> |
+  <%= link_to_function t('layouts.home'), "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)", { :title => t('layouts.home_tooltip') } %> |
 <% end %>
 <% end %>
 
 <div id="attribution">
   <table width="100%">
     <tr>
-      <td align="center"><%=
-        I18n.t('site.index.license.notice',
-          :license_name => ('<a href="' + t('site.index.license.license_url') + '">' + t('site.index.license.license_name') + '</a>'),
-          :project_name => ('<a href="' + t('site.index.license.project_url') + '">' + t('site.index.license.project_name') + '</a>'))
+      <td align="left"><%= t'site.index.license.license_url' %></td>
+      <td align="right"><%= t'site.index.license.project_url' %></td>
+    </tr>
+    <tr>
+      <td colspan="2" align="center"><%=
+        t'site.index.license.notice',
+          :license_name => t('site.index.license.license_name'),
+          :project_name => t('site.index.license.project_name')
         %></td>
     </tr>
   </table>