digitalpoint
Well-known member
- Affected version
- 2.2.12
Minor, but... If you look at the Node list in the admin area, you see something like this:
You get the icons that are specific to the ForumType handler (for example the Question forum type gives the question-mark icon as well as the text showing what type of forum it is).
If you look at the Node permissions page, you lose a lot of that info... everything reverts to default info for the Forum (you don't see the text or icons).
Shouldn't this be showing info from the ForumType handler?
In the
...to this:
...and...
...to this:
Then you are presented with something that makes more sense and is more consistent with the Node list:
You get the icons that are specific to the ForumType handler (for example the Question forum type gives the question-mark icon as well as the text showing what type of forum it is).
If you look at the Node permissions page, you lose a lot of that info... everything reverts to default info for the Forum (you don't see the text or icons).
Shouldn't this be showing info from the ForumType handler?
In the
admin:permission_node_overview
template, if you change this:
HTML:
<xf:cell class="dataList-cell--min"><i class="nodeIcon nodeIcon--{$node.NodeType.node_type_id}"></i></xf:cell>
HTML:
<xf:cell class="dataList-cell--min"><xf:macro template="node_list" name="node_icon" arg-node="{$node}" /></xf:cell>
...and...
HTML:
<div class="dataList-mainRow">{$node.title} <span class="dataList-hint" dir="auto">{$node.NodeType.title}</span></div>
HTML:
<div class="dataList-mainRow">{$node.title} <span class="dataList-hint" dir="auto">{$node.NodeType.title} <xf:if is="callable($node.Data, 'getTypeHandler')"> ({{ $node.Data.TypeHandler.getTypeTitle() }})</xf:if></span></div>
Then you are presented with something that makes more sense and is more consistent with the Node list: