mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:59:22 -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"}}
|
label="admin.user.delete"}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{plugin-outlet
|
||||||
|
name="user-card-additional-buttons"
|
||||||
|
args=(hash user=this.user close=(action "close"))
|
||||||
|
tagName="li"}}
|
||||||
</ul>
|
</ul>
|
||||||
{{plugin-outlet
|
{{plugin-outlet
|
||||||
name="user-card-additional-controls"
|
name="user-card-additional-controls"
|
||||||
|
Loading…
Reference in New Issue
Block a user