]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
The display:none attribution table looks horrid in text browsers
[rails.git] / app / views / site / index.rhtml
index 3bccb7e044070aa31453abe79643095faa0456cd..f816dddd22004cd970d6412f5fef8c6904ad5c43 100644 (file)
 <div id="attribution">
   <table width="100%">
     <tr>
-      <td align="left">http://creativecommons.org/licenses/by-sa/2.0/</td>
-      <td align="right">http://openstreetmap.org/</td>
-    </tr>
-    <tr>
-      <td colspan="2" align="center"><%= t 'site.index.license' %></td>
+      <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>
     </tr>
   </table>
 </div>