From 4bfb0490541dc4673cb6021050b70f29087ed6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 7 Aug 2017 18:16:54 +0200 Subject: [PATCH] Add new 'group-edit' plugin outlet --- app/assets/javascripts/admin/templates/group.hbs | 2 ++ app/assets/javascripts/discourse/templates/group-edit.hbs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/assets/javascripts/admin/templates/group.hbs b/app/assets/javascripts/admin/templates/group.hbs index 1dd0a55cd11..4861454272d 100644 --- a/app/assets/javascripts/admin/templates/group.hbs +++ b/app/assets/javascripts/admin/templates/group.hbs @@ -143,6 +143,8 @@ {{group-flair-inputs model=model}} {{/unless}} + {{plugin-outlet name="group-edit" args=(hash group=model)}} +
{{#unless model.automatic}} diff --git a/app/assets/javascripts/discourse/templates/group-edit.hbs b/app/assets/javascripts/discourse/templates/group-edit.hbs index d5552e5327d..1483fce31e6 100644 --- a/app/assets/javascripts/discourse/templates/group-edit.hbs +++ b/app/assets/javascripts/discourse/templates/group-edit.hbs @@ -51,6 +51,8 @@
+ {{plugin-outlet name="group-edit" args=(hash group=model)}} + {{d-button action="save" class="btn-primary" disabled=saving label="save"}} {{savingText}}