The display:none attribution table looks horrid in text browsers

(e.g. w3m). And there's no reason to include plain URLs to CC-BY-SA
and OSM *AND* mention both in the message below without including any
links.

Instead erase those links and work them into the message instead.
This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-06-07 17:08:25 +00:00
parent 1b58ea44d5
commit 86a0ba0172
13 changed files with 61 additions and 17 deletions

View file

@ -23,11 +23,11 @@
<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>