mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: consistency to show mute/ignore menu in user profile
Show the mute/ignore menu for another user even when the current user cannot message them.
This commit is contained in:
parent
919e405c48
commit
8e6be1c353
@ -58,6 +58,7 @@
|
|||||||
icon="envelope"
|
icon="envelope"
|
||||||
label="user.private_message"}}
|
label="user.private_message"}}
|
||||||
</li>
|
</li>
|
||||||
|
{{/if}}
|
||||||
{{#if canMuteOrIgnoreUser}}
|
{{#if canMuteOrIgnoreUser}}
|
||||||
<li>
|
<li>
|
||||||
{{user-notifications-dropdown
|
{{user-notifications-dropdown
|
||||||
@ -67,7 +68,6 @@
|
|||||||
}}
|
}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
|
||||||
{{#if currentUser.staff}}
|
{{#if currentUser.staff}}
|
||||||
<li><a href={{model.adminPath}} class="btn btn-default">{{d-icon "wrench"}}{{i18n 'admin.user.show_admin_profile'}}</a></li>
|
<li><a href={{model.adminPath}} class="btn btn-default">{{d-icon "wrench"}}{{i18n 'admin.user.show_admin_profile'}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Loading…
Reference in New Issue
Block a user