mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
DEV: Add user-card-additional-buttons plugin outlet
The user-card-additional-controls outlet is outside the `<li>` element, which makes styling difficult. Placing an outlet inside the button list means that themes/plugins can easily reuse core styling.
This commit is contained in:
parent
edc940ce3e
commit
f1fc6cd40d
@ -104,6 +104,10 @@
|
||||
label="admin.user.delete"}}
|
||||
</li>
|
||||
{{/if}}
|
||||
{{plugin-outlet
|
||||
name="user-card-additional-buttons"
|
||||
args=(hash user=this.user close=(action "close"))
|
||||
tagName="li"}}
|
||||
</ul>
|
||||
{{plugin-outlet
|
||||
name="user-card-additional-controls"
|
||||
|
Loading…
Reference in New Issue
Block a user