mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: show 'copy settings from' button in acp category sidebar only on category.tpl
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
|
||||
<hr class="my-1"/>
|
||||
|
||||
{{{ if (template.name == "admin/manage/category") }}}
|
||||
<button class="btn btn-ghost btn-sm d-flex gap-2 align-items-center copy-settings">
|
||||
<i class="fa fa-fw fa-files-o text-primary"></i> [[admin/manage/categories:copy-settings]]
|
||||
</button>
|
||||
{{{ end }}}
|
||||
|
||||
<a class="btn btn-ghost btn-sm d-flex gap-2 align-items-center" href="{config.relative_path}/admin/manage/categories/{(cid || category.cid)}/analytics"><i class="fa fa-fw fa-chart-simple text-primary"></i> [[admin/manage/categories:analytics]]</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user