mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #4032 from hanakin/ticket/14294
[ticket/14294]Fix removal of wanted icons on mark read
This commit is contained in:
commit
75e9b2a18d
7 changed files with 7 additions and 7 deletions
|
@ -87,7 +87,7 @@ phpbb.addAjaxCallback('mark_topics_read', function(res, updateTopicLinks) {
|
|||
});
|
||||
|
||||
// Remove link to first unread post
|
||||
$('a').has('i.icon-red').remove();
|
||||
$('a.unread').has('.icon-red').remove();
|
||||
|
||||
// Update mark topics read links
|
||||
if (updateTopicLinks) {
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
<!-- EVENT topiclist_row_prepend -->
|
||||
<!-- IF searchresults.S_UNREAD_TOPIC and not S_IS_BOT -->
|
||||
<a href="{searchresults.U_NEWEST_POST}">
|
||||
<a class="unread" href="{searchresults.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<div class="list-inner">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC -->
|
||||
<a href="{topicrow.U_NEWEST_POST}">
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<div class="list-inner">
|
||||
<!-- IF topicrow.S_UNREAD -->
|
||||
<a href="{topicrow.U_NEWEST_POST}">
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<div class="list-inner">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC -->
|
||||
<a href="{topicrow.U_NEWEST_POST}">
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
<div class="list-inner">
|
||||
<!-- EVENT topiclist_row_prepend -->
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT -->
|
||||
<a href="{topicrow.U_NEWEST_POST}">
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -284,7 +284,7 @@
|
|||
<!-- IF S_IS_BOT -->
|
||||
<span><i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span></span>
|
||||
<!-- ELSE -->
|
||||
<a href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
|
||||
<a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
|
||||
<i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
|
Loading…
Add table
Reference in a new issue