mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-01 16:34:14 -04:00
UX: hide new button in automatic group since we can't create automatic group
This commit is contained in:
parent
d3ee48a316
commit
4ab61dfdad
1 changed files with 5 additions and 4 deletions
|
@ -13,11 +13,12 @@
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
<div class='controls'>
|
<div class='controls'>
|
||||||
{{#link-to 'adminGroup' 'new' class="btn"}}
|
|
||||||
{{fa-icon "plus"}} {{i18n 'admin.groups.new'}}
|
|
||||||
{{/link-to}}
|
|
||||||
{{#if controller.isAuto}}
|
{{#if controller.isAuto}}
|
||||||
{{d-button action="refreshAutoGroups" icon="refresh" label="admin.groups.refresh" disabled=refreshingAutoGroups}}
|
{{d-button action="refreshAutoGroups" icon="refresh" label="admin.groups.refresh" disabled=refreshingAutoGroups}}
|
||||||
|
{{else}}
|
||||||
|
{{#link-to 'adminGroup' 'new' class="btn"}}
|
||||||
|
{{fa-icon "plus"}} {{i18n 'admin.groups.new'}}
|
||||||
|
{{/link-to}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue