mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14294]Fix removal of wanted icons
PHPBB3-14294
This commit is contained in:
parent
cbf9408e66
commit
e031afc5f7
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
|
// Remove link to first unread post
|
||||||
$('a').has('i.icon-red').remove();
|
$('a.unread').has('.icon-red').remove();
|
||||||
|
|
||||||
// Update mark topics read links
|
// Update mark topics read links
|
||||||
if (updateTopicLinks) {
|
if (updateTopicLinks) {
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
|
|
||||||
<!-- EVENT topiclist_row_prepend -->
|
<!-- EVENT topiclist_row_prepend -->
|
||||||
<!-- IF searchresults.S_UNREAD_TOPIC and not S_IS_BOT -->
|
<!-- 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>
|
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||||
</a>
|
</a>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||||
<div class="list-inner">
|
<div class="list-inner">
|
||||||
<!-- IF topicrow.S_UNREAD_TOPIC -->
|
<!-- 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>
|
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||||
</a>
|
</a>
|
||||||
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</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 -->
|
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||||
<div class="list-inner">
|
<div class="list-inner">
|
||||||
<!-- IF topicrow.S_UNREAD -->
|
<!-- 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>
|
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||||
</a>
|
</a>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||||
<div class="list-inner">
|
<div class="list-inner">
|
||||||
<!-- IF topicrow.S_UNREAD_TOPIC -->
|
<!-- 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>
|
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||||
</a>
|
</a>
|
||||||
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||||
|
|
|
@ -159,7 +159,7 @@
|
||||||
<div class="list-inner">
|
<div class="list-inner">
|
||||||
<!-- EVENT topiclist_row_prepend -->
|
<!-- EVENT topiclist_row_prepend -->
|
||||||
<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT -->
|
<!-- 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>
|
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||||
</a>
|
</a>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -284,7 +284,7 @@
|
||||||
<!-- IF S_IS_BOT -->
|
<!-- 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>
|
<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 -->
|
<!-- 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>
|
<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>
|
</a>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue