mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge pull request #6268 from 3D-I/ticket/16833-master
[ticket/16833][4.0.x] Improve subscribe to forum or topic icons
This commit is contained in:
commit
5b27098a60
3 changed files with 10 additions and 10 deletions
|
@ -35,11 +35,11 @@
|
||||||
<li class="in-menu">
|
<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 }}">
|
<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 %}
|
{% if S_WATCHING_FORUM %}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon') }}
|
{{ Icon('iconify', 'mdi:eye-minus-outline', '', true, 'c-watch-icon is-active') }}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon is-active') }}
|
{{ Icon('iconify', 'mdi:eye-plus-outline', '', true, 'c-watch-icon') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon is-active') }}
|
{{ Icon('iconify', 'mdi:eye-plus-outline', '', true, 'c-watch-icon is-active') }}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon') }}
|
{{ Icon('iconify', 'mdi:eye-minus-outline', '', true, 'c-watch-icon') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span>{{ S_WATCH_FORUM_TITLE }}</span>
|
<span>{{ S_WATCH_FORUM_TITLE }}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
<li>
|
<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 %}
|
{% if S_WATCHING_TOPIC %}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon') }}
|
{{ Icon('iconify', 'mdi:eye-minus-outline', '', true, 'c-watch-icon is-active') }}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon is-active') }}
|
{{ Icon('iconify', 'mdi:eye-plus-outline', '', true, 'c-watch-icon') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon is-active') }}
|
{{ Icon('iconify', 'mdi:eye-plus-outline', '', true, 'c-watch-icon is-active') }}
|
||||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon') }}
|
{{ Icon('iconify', 'mdi:eye-minus-outline', '', true, 'c-watch-icon') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span>{S_WATCH_TOPIC_TITLE}</span>
|
<span>{S_WATCH_TOPIC_TITLE}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -128,10 +128,10 @@ blockquote cite:before,
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c-subscribe-icon {
|
.c-watch-icon {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c-subscribe-icon.is-active {
|
.c-watch-icon.is-active {
|
||||||
display: inline !important;
|
display: inline !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue