Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
3.3.10
-
None
Description
The ucp_main_bookmarks.html template and the ucp_main_subscribed.html template contain code which is supposed to display icons next to reported topics and unapproved topics - but the ions don't show up.
They also contain code which is supposed to add a 'reported' class to change the background colour of the reported and unapproved posts - but the class doesn't get added.
The reported/unapproved if statements don't seem to work on these 2 templates.
ucp_main_bookmarks.html:{}
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_UNAPPROVED}"> |
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_UNAPPROVED}</span> |
</a>
|
<!-- ENDIF -->
|
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
<a href="{topicrow.U_MCP_REPORT}" title="{L_TOPIC_REPORTED}"> |
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span> |
</a>
|
<!-- ENDIF -->
|
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> |
ucp_main_subscribed.html
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_UNAPPROVED}"> |
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_UNAPPROVED}</span> |
</a>
|
<!-- ENDIF -->
|
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
<a href="{topicrow.U_MCP_REPORT}" title="{L_TOPIC_REPORTED}"> |
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span> |
</a>
|
<!-- ENDIF -->
|
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> |