]> git.openstreetmap.org Git - rails.git/blob - app/views/message/outbox.html.erb
Make sure the ruby quadtile code give the same result as the C version
[rails.git] / app / views / message / outbox.html.erb
1 <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>
2
3 <p><%= t'message.outbox.you_have_sent_messages', :count => @user.sent_messages.size %>
4
5 <% if @user.sent_messages.size > 0 %>
6   <div id="messages">
7     <table class="messages">
8       <tr>
9         <th><%= t'message.outbox.to' %></th>
10         <th><%= t'message.outbox.subject' %></th>
11         <th><%= t'message.outbox.date' %></th>
12         <th></th>
13       </tr>
14       <%= render :partial => "sent_message_summary", :collection => @user.sent_messages %>
15     </table>
16   </div>
17 <% else %>
18   <div id="messages"><%= t'message.outbox.no_sent_messages', :people_mapping_nearby_link => link_to(t('message.outbox.people_mapping_nearby'), :controller => 'user', :action => 'view', :display_name => @user.display_name) %></div>
19 <% end %>