status: Add menu option to "View PMs to myself".

This commit is contained in:
Steve Howell 2018-12-21 18:56:51 +00:00 committed by Tim Abbott
parent 7b5f282aee
commit 8444326bf3
1 changed files with 6 additions and 3 deletions

View File

@ -66,13 +66,16 @@
</li> </li>
{{/unless}} {{/unless}}
<hr /> <hr />
{{#unless is_me}}
<li> <li>
<a href="{{ pm_with_uri }}" class="narrow_to_private_messages"> <a href="{{ pm_with_uri }}" class="narrow_to_private_messages">
<i class="fa fa-lock" aria-hidden="true"></i> {{#tr this}}View private messages{{/tr}} <i class="fa fa-lock" aria-hidden="true"></i>
{{#if is_me}}
{{#tr this}}View private messages to myself{{/tr}}
{{else}}
{{#tr this}}View private messages{{/tr}}
{{/if}}
</a> </a>
</li> </li>
{{/unless}}
<li> <li>
<a href="{{ sent_by_uri }}" class="narrow_to_messages_sent"> <a href="{{ sent_by_uri }}" class="narrow_to_messages_sent">
<i class="fa fa-bullhorn" aria-hidden="true"></i> {{#tr this}}View messages sent{{/tr}} <i class="fa fa-bullhorn" aria-hidden="true"></i> {{#tr this}}View messages sent{{/tr}}