DEV: Add user-card-additional-buttons plugin outlet

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.

diff --git a/app/assets/javascripts/discourse/app/templates/components/user-card-contents.hbs b/app/assets/javascripts/discourse/app/templates/components/user-card-contents.hbs
index 8218fc3..5b40fe9 100644
--- a/app/assets/javascripts/discourse/app/templates/components/user-card-contents.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/user-card-contents.hbs
@@ -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"

GitHub sha: f1fc6cd4