Skip to content

Commit 531c4f2

Browse files
authored
Merge pull request phpbb#6798 from marc1706/ticket/17492-master
[ticket/17492] Show current state of topic subscription in dropdown -- master version
2 parents d47262d + e33c174 commit 531c4f2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

phpBB/styles/prosilver/template/navbar_footer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
<li class="in-menu">
3636
<a href="{{ U_WATCH_FORUM_LINK }}" title="{{ S_WATCH_FORUM_TITLE }}" data-ajax="toggle_link" data-toggle-text="{{ S_WATCH_FORUM_TOGGLE }}" data-toggle-url="{{ U_WATCH_FORUM_TOGGLE }}">
3737
{% if S_WATCHING_FORUM %}
38-
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
39-
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
40-
{% else %}
4138
{{ Icon('font', 'bell', '', true, 'far c-watch-icon is-active') }}
4239
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon') }}
40+
{% else %}
41+
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
42+
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
4343
{% endif %}
4444
<span>{{ S_WATCH_FORUM_TITLE }}</span>
4545
</a>

phpBB/styles/prosilver/template/viewtopic_topic_tools.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
<div class="pointer"><div class="pointer-inner"></div></div>
99
<ul class="dropdown-contents">
1010
<!-- EVENT viewtopic_topic_tools_before -->
11-
<!-- IF U_WATCH_TOPIC -->
11+
{% if U_WATCH_TOPIC %}
1212
<li>
13-
<a href="{U_WATCH_TOPIC}" class="watch-topic-link" title="{S_WATCH_TOPIC_TITLE}" data-ajax="toggle_link" data-toggle-text="{S_WATCH_TOPIC_TOGGLE}" data-toggle-url="{U_WATCH_TOPIC_TOGGLE}" data-update-all=".watch-topic-link">
13+
<a href="{{ U_WATCH_TOPIC }}" class="watch-topic-link" title="{{ S_WATCH_TOPIC_TITLE }}" data-ajax="toggle_link" data-toggle-text="{{ S_WATCH_TOPIC_TOGGLE }}" data-toggle-url="{{ U_WATCH_TOPIC_TOGGLE }}" data-update-all=".watch-topic-link">
1414
{% if S_WATCHING_TOPIC %}
15-
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
16-
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
17-
{% else %}
1815
{{ Icon('font', 'bell', '', true, 'far c-watch-icon is-active') }}
1916
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon') }}
17+
{% else %}
18+
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
19+
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
2020
{% endif %}
2121
<span>{S_WATCH_TOPIC_TITLE}</span>
2222
</a>
2323
</li>
24-
<!-- ENDIF -->
24+
{% endif %}
2525
<!-- IF U_BOOKMARK_TOPIC -->
2626
<li>
2727
<a href="{U_BOOKMARK_TOPIC}" class="bookmark-link" title="{L_BOOKMARK_TOPIC}" data-ajax="alt_text" data-alt-text="{S_BOOKMARK_TOGGLE}" data-update-all=".bookmark-link">

0 commit comments

Comments
 (0)