Node.js based forum software built for the modern web
refactor: shorter tpl
Barış Soner Uşaklıe2fc349d4310
diff --git a/src/views/partials/category/tools-dropdown-content.tpl b/src/views/partials/category/tools-dropdown-content.tplindex 01eb2a7557..2bb6777bcb 100644--- a/src/views/partials/category/tools-dropdown-content.tpl+++ b/src/views/partials/category/tools-dropdown-content.tpl@@ -75,11 +75,11 @@</a></li>- {{{each thread_tools}}}+ {{{ each thread_tools }}}<li>- <a href="#" class="dropdown-item rounded-1 d-flex align-items-center gap-2 {thread_tools.class}" role="menuitem">- <i class="fa fa-fw {thread_tools.icon} text-secondary"></i>- {thread_tools.title}</a>+ <a href="#" class="dropdown-item rounded-1 d-flex align-items-center gap-2 {./class}" role="menuitem">+ <i class="fa fa-fw {./icon} text-secondary"></i>+ {./title}</a></li>- {{{end}}}+ {{{ end }}}</ul>\ No newline at end of file