Merge branch 'pull/3112'
This commit is contained in:
commit
a2ddcda911
3 changed files with 19 additions and 6 deletions
|
@ -3,7 +3,14 @@
|
|||
<% end %>
|
||||
|
||||
<% content_for :heading do %>
|
||||
<h2><%= t ".my_inbox" %>/<%= link_to t(".outbox"), outbox_messages_path %></h2>
|
||||
<ul class="nav nav-pills">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active"><%= t ".my_inbox" %></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<%= link_to t(".my_outbox"), outbox_messages_path, :class => "nav-link" %>
|
||||
</li>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<h4><%= render :partial => "message_count" %></h4>
|
||||
|
|
|
@ -3,7 +3,14 @@
|
|||
<% end %>
|
||||
|
||||
<% content_for :heading do %>
|
||||
<h2><%= t(".my_inbox_html", :inbox_link => link_to(t(".inbox"), inbox_messages_path)) %>/<%= t ".outbox" %></h2>
|
||||
<ul class="nav nav-pills">
|
||||
<li class="nav-item">
|
||||
<%= link_to t(".my_inbox"), inbox_messages_path, :class => "nav-link" %>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active"><%= t ".my_outbox" %></a>
|
||||
</li>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<h4><%= t ".messages", :count => current_user.sent_messages.size %></h4>
|
||||
|
|
|
@ -1519,7 +1519,7 @@ en:
|
|||
inbox:
|
||||
title: "Inbox"
|
||||
my_inbox: "My Inbox"
|
||||
outbox: "outbox"
|
||||
my_outbox: "My Outbox"
|
||||
messages: "You have %{new_messages} and %{old_messages}"
|
||||
new_messages:
|
||||
one: "%{count} new message"
|
||||
|
@ -1552,9 +1552,8 @@ en:
|
|||
body: "Sorry there is no message with that id."
|
||||
outbox:
|
||||
title: "Outbox"
|
||||
my_inbox_html: "My %{inbox_link}"
|
||||
inbox: "inbox"
|
||||
outbox: "outbox"
|
||||
my_inbox: "My Inbox"
|
||||
my_outbox: "My Outbox"
|
||||
messages:
|
||||
one: "You have %{count} sent message"
|
||||
other: "You have %{count} sent messages"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue