mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:43:43 +08:00
FIX: replaces inline button message with d-button
This commit is contained in:
parent
7ce2d20951
commit
b1297a5f5a
|
@ -44,10 +44,10 @@
|
||||||
<ul>
|
<ul>
|
||||||
{{#if model.can_send_private_message_to_user}}
|
{{#if model.can_send_private_message_to_user}}
|
||||||
<li>
|
<li>
|
||||||
{{#d-button class="btn btn-primary compose-pm" action=(route-action "composePrivateMessage" model)}}
|
{{d-button class="btn btn-primary compose-pm"
|
||||||
{{d-icon "envelope"}}
|
action=(route-action "composePrivateMessage" model)
|
||||||
{{i18n "user.private_message"}}
|
icon="envelope"
|
||||||
{{/d-button}}
|
label="user.private_message"}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if currentUser.staff}}
|
{{#if currentUser.staff}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user