]> git.openstreetmap.org Git - rails.git/commitdiff
Fix cut and paste errors in inbox/outbox redesign
authorTom Hughes <tom@compton.nu>
Tue, 2 Oct 2012 18:17:27 +0000 (19:17 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 2 Oct 2012 18:51:30 +0000 (19:51 +0100)
app/views/message/outbox.html.erb
app/views/message/read.html.erb

index 9786d6fb7e15b057895d557b618a6568b6e2fc30..30d55e1aa17b993fe170668d0ab013732feadcb8 100644 (file)
@@ -6,11 +6,9 @@
   <table class="messages">
     <thead>
       <tr>
-        <th><%= t'message.inbox.from' %></th>
-        <th><%= t'message.inbox.subject' %></th>
-        <th><%= t'message.inbox.date' %></th>
-        <th></th>
-        <th></th>
+        <th><%= t'message.outbox.to' %></th>
+        <th><%= t'message.outbox.subject' %></th>
+        <th><%= t'message.outbox.date' %></th>
         <th></th>
       </tr>
     </thead>
index 0fbef1d8c8f1d9d0016887c94eaaa89dceb72de1..de36cafe8314f0c5cfe1b5977adeb4ed0a83e941 100644 (file)
@@ -31,7 +31,7 @@
 
     <%= @message.body.to_html %></td>
 
-    <%= link_to t('message.read.back_to_inbox'), :controller => 'message', :action => 'inbox', :display_name => @user.display_name %>
+    <%= link_to t('message.read.back_to_outbox'), :controller => 'message', :action => 'outbox', :display_name => @user.display_name %>
 
 <% end %>
 </div>