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