diff --git a/src/site/template/aurelia/layouts/topic/moderate/default.php b/src/site/template/aurelia/layouts/topic/moderate/default.php
index 42ad833d7f..d272104e30 100644
--- a/src/site/template/aurelia/layouts/topic/moderate/default.php
+++ b/src/site/template/aurelia/layouts/topic/moderate/default.php
@@ -21,6 +21,7 @@
use Kunena\Forum\Libraries\Icons\KunenaIcons;
use Kunena\Forum\Libraries\Icons\KunenaSvgIcons;
use Kunena\Forum\Libraries\Route\KunenaRoute;
+use Kunena\Forum\Libraries\User\KunenaUserHelper;
HTMLHelper::_('bootstrap.framework');
@@ -90,82 +91,74 @@
userLink; ?>
- config->topicIcons) :
- ?>
- :
-
-
- topicIcons as $icon) : ?>
-
checked) ? ' checked="checked" ' : ''; ?>
- />
-
- category->iconset) {
- $this->category->iconset = 'default';
- }
-
- // Determine icon type and render accordingly
- $topicicontype = $this->config->topicIcons ? $topicicontype : null;
- ?>
-
-
-
-
+ isModerator($this->category);?>
+ config->topicIcons || $canModerate || $this->me->authorise('core.admin')): ?>
+ :
+
+
+ topicIcons as $icon): ?>
+
checked) ? ' checked="checked" ' : ''; ?>
+ />
+
+ category->iconset) {
+ $this->category->iconset = 'default';
+ }
+
+ $topicicontype = $this->ktemplate->params->get('topicicontype');
+ ?>
+
+
+
+
+
-config->topicIcons): ?>
+config->topicIcons && !$canModerate && !$this->me->authorise('core.admin')): ?>
:
-
-
-
-
-
+
+ topicIcons as $icon): ?>
+
checked) ? ' checked="checked" ' : '' ?>
+ />
+
+
+
+
+
message)) :
?>