Merging 17905:17944 from trunk.

This commit is contained in:
Matt Amos 2009-10-02 15:36:46 +00:00
commit 17f05fdb13
45 changed files with 328 additions and 80 deletions

View file

@ -117,12 +117,20 @@
<%= yield :optionals %>
<center>
<div class="button" style="width: 115px">
<a href="http://donate.openstreetmap.org/"><img src="/images/donate.png" border="0" alt="<%= t 'layouts.alt_donation' %>" title="<%= t 'layouts.alt_donation' %>" /></a>
<div class="donate">
<a href="http://donate.openstreetmap.org/" title="<%= h(t('layouts.make_a_donation.title')) %>"><%= h(t('layouts.make_a_donation.text')) %></a>
</div>
<div id="cclogo" class="button" style="width: 88px">
<%= link_to image_tag("cc_button.png", :alt => "CC by-sa 2.0", :border => "0"), "http://creativecommons.org/licenses/by-sa/2.0/" %>
<%= link_to(
image_tag("cc_button.png",
:alt => t('layouts.license.alt'),
:border => 0,
:width => 88,
:height => 31,
:title => t('layouts.license.title')),
"http://creativecommons.org/licenses/by-sa/2.0/",
{ :rel => "license" }) %>
</div>
</center>
</div>

View file

@ -1,6 +1,6 @@
<h2><%= t'message.outbox.my_inbox', :inbox_link => link_to(t('message.outbox.inbox'), url_for(:controller => "user", :action => "inbox", :id => @user.display_name)) %>/<%= t'message.outbox.outbox' %></h2>
<p><%= t'message.outbox.you_have_sent_messages', :sent_count => @user.sent_messages.size %>
<p><%= t'message.outbox.you_have_sent_messages', :count => @user.sent_messages.size %>
<% if @user.sent_messages.size > 0 %>
<div id="messages">