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:
David Taylor 2020-06-09 14:33:24 +01:00
parent edc940ce3e
commit f1fc6cd40d
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434

View File

@ -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"