mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
FEATURE: overridable template for adding custom buttons on the composer
This commit is contained in:
parent
4f6b208e8d
commit
41a53c3203
2 changed files with 2 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
{{!-- THIS IS AN EMPTY TEMPLATE THAT NEEDS TO BE OVERWRITTEN --}}
|
|
@ -51,6 +51,7 @@
|
||||||
{{#if model.showAdminOptions}}
|
{{#if model.showAdminOptions}}
|
||||||
<button {{action toggleAdminOptions target="view"}} class="btn no-text show-admin-options" title='{{i18n composer.admin_options_title}}'><i class="fa fa-wrench"></i></button>
|
<button {{action toggleAdminOptions target="view"}} class="btn no-text show-admin-options" title='{{i18n composer.admin_options_title}}'><i class="fa fa-wrench"></i></button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{render additionalComposerButtons model}}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue