diff --git a/custom/panel_templates/Default/assets/css/custom.css b/custom/panel_templates/Default/assets/css/custom.css index 4b7ea5f0ab..a68379d0f4 100644 --- a/custom/panel_templates/Default/assets/css/custom.css +++ b/custom/panel_templates/Default/assets/css/custom.css @@ -469,3 +469,8 @@ footer.sticky-footer { height: 16px; width: 16px; } + +/* Make buttons dimmed when parent table row is not hovered */ +.forumEditingRow:not(:hover) .btn { + opacity: 0.5; +} diff --git a/custom/panel_templates/Default/forum/forums.tpl b/custom/panel_templates/Default/forum/forums.tpl index cc4a40c619..878e31f128 100644 --- a/custom/panel_templates/Default/forum/forums.tpl +++ b/custom/panel_templates/Default/forum/forums.tpl @@ -36,56 +36,123 @@
- {$item.title}{if $item.parent_forum}
- | {$item.parent_forum}{/if} {$item.description} - |
-
-
- {if $item.up_link}
-
+ {if count($CATEGORIES_ARRAY)}
+ {foreach from=$CATEGORIES_ARRAY item=category}
+
+
+
+
+
+
| ||
+ {$subforum.title}
+ {if $subforum.description}
+ + + {$subforum.description} + + {/if} + |
+ + + Edit + + {if count($category.subforums) > 1} + + {/if} + + + + | +
{$NO_FORUMS}
+{$NO_FORUMS}
{/if} +{* {if count($FORUMS_ARRAY)}*} +{**}
+{* {$item.title}{if $item.parent_forum}*}
+{* | {$item.parent_forum}{/if} {$item.description}*} +{* | *}
+{* *} +{* *} +{* | *} +{*
{$NO_FORUMS}
*} +{* {/if}*} +