mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge pull request #6798 from marc1706/ticket/17492-master
[ticket/17492] Show current state of topic subscription in dropdown -- master version
This commit is contained in:
commit
531c4f2c17
2 changed files with 9 additions and 9 deletions
|
@ -35,11 +35,11 @@
|
|||
<li class="in-menu">
|
||||
<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 }}">
|
||||
{% if S_WATCHING_FORUM %}
|
||||
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
|
||||
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
|
||||
{% else %}
|
||||
{{ Icon('font', 'bell', '', true, 'far c-watch-icon is-active') }}
|
||||
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon') }}
|
||||
{% else %}
|
||||
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
|
||||
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
|
||||
{% endif %}
|
||||
<span>{{ S_WATCH_FORUM_TITLE }}</span>
|
||||
</a>
|
||||
|
|
|
@ -8,20 +8,20 @@
|
|||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents">
|
||||
<!-- EVENT viewtopic_topic_tools_before -->
|
||||
<!-- IF U_WATCH_TOPIC -->
|
||||
{% if U_WATCH_TOPIC %}
|
||||
<li>
|
||||
<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">
|
||||
<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">
|
||||
{% if S_WATCHING_TOPIC %}
|
||||
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
|
||||
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
|
||||
{% else %}
|
||||
{{ Icon('font', 'bell', '', true, 'far c-watch-icon is-active') }}
|
||||
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon') }}
|
||||
{% else %}
|
||||
{{ Icon('font', 'bell-slash', '', true, 'far c-watch-icon is-active') }}
|
||||
{{ Icon('font', 'bell', '', true, 'far c-watch-icon') }}
|
||||
{% endif %}
|
||||
<span>{S_WATCH_TOPIC_TITLE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
{% endif %}
|
||||
<!-- IF U_BOOKMARK_TOPIC -->
|
||||
<li>
|
||||
<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">
|
||||
|
|
Loading…
Add table
Reference in a new issue