1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-22 08:13:14 +02:00

[ticket/17155] Default to first unread post on topics

Also removed the unread post icon and instead opted for playing with font
weight and color for indication.

PHPBB3-17155
This commit is contained in:
Marc Alexander
2023-07-02 14:04:31 +02:00
parent 3e2d2d240a
commit 68fb6dcb57
7 changed files with 35 additions and 32 deletions

View File

@@ -54,11 +54,11 @@
<img class="row-item-sub" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="">
{% endif %}
<div class="list-inner">
<!-- IF topicrow.S_UNREAD_TOPIC -->
<a class="unread" href="{topicrow.U_NEWEST_POST}">
{{ Icon('iconify', 'fa:file', NEW_POST, true, 'c-topic-unread-icon') }}
</a>
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
{% if topicrow.S_UNREAD_TOPIC %}
<a href="{{ topicrow.U_NEWEST_POST }}" class="topictitle unread">{{ topicrow.TOPIC_TITLE }}</a>
{% else %}
<a href="{{ topicrow.U_VIEW_TOPIC }}" class="topictitle">{{ topicrow.TOPIC_TITLE }}</a>
{% endif %}
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_UNAPPROVED}">
{{ Icon('iconify', 'fa:question', lang('TOPIC_UNAPPROVED'), true, 'c-unapproved-icon') }}