aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-04-14 16:22:35 +0300
committerGravatar Vitaly Takmazov2020-04-14 16:22:35 +0300
commit94dc51839a2b5b84f8c6020832d819495fe034be (patch)
treeb3f7c00d3a8836811e92e4247c5052d5333dfbf0 /src
parentf216eaa143febe357fb901f4e568e3f0a54cc7ce (diff)
Fix user toolbar on mobile
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/templates/views/partial/usercolumn.html53
1 files changed, 28 insertions, 25 deletions
diff --git a/src/main/resources/templates/views/partial/usercolumn.html b/src/main/resources/templates/views/partial/usercolumn.html
index 4beefd8a..1da05e07 100644
--- a/src/main/resources/templates/views/partial/usercolumn.html
+++ b/src/main/resources/templates/views/partial/usercolumn.html
@@ -5,31 +5,34 @@
<img src="{{ user.avatar }}" alt="" />{{ user.name }}
</a>
</div>
- <div class="toolbar">
- {% if isSubscribed %}
- <a href="/post?body=U+%40{{ user.name }}" title="Подписан">
- <i data-icon="ei-check" data-size="s"></i>Subscribed
- </a>
- {% else %}
- <a href="/post?body=S+%40{{ user.name }}" title="Подписаться">
- <i data-icon="ei-plus" data-size="s"></i>Subscribe
- </a>
- {% endif %}
- {% if isInBL %}
- <a href="/post?body=BL+%40{{ user.name }}" title="Разблокировать">
- <i data-icon="ei-close-o" data-size="s"></i>Unblock
- </a>
- {% else %}
- <a href="/post?body=BL+%40{{ user.name }}" title="Заблокировать">
- <i data-icon="ei-close" data-size="s"></i>Block
- </a>
- {% endif %}
- {% if not isInBLAny %}
- <a href="/pm/sent?uname={{ user.name }}" title="Написать приватное сообщение">
- <i data-icon="ei-envelope" data-size="s"></i>PM
- </a>
- {% endif %}
- </div>
+ {% if isSubscribed %}
+ <a href="/post?body=U+%40{{ user.name }}" title="Подписан">
+ <i data-icon="ei-check" data-size="s"></i>
+ <span class="desktop">Subscribed</span>
+ </a>
+ {% else %}
+ <a href="/post?body=S+%40{{ user.name }}" title="Подписаться">
+ <i data-icon="ei-plus" data-size="s"></i>
+ <span class="desktop">Subscribe</span>
+ </a>
+ {% endif %}
+ {% if isInBL %}
+ <a href="/post?body=BL+%40{{ user.name }}" title="Разблокировать">
+ <i data-icon="ei-close-o" data-size="s"></i>
+ <span class="dekstop">Unblock</span>
+ </a>
+ {% else %}
+ <a href="/post?body=BL+%40{{ user.name }}" title="Заблокировать">
+ <i data-icon="ei-close" data-size="s"></i>
+ <span class="desktop">Block</span>
+ </a>
+ {% endif %}
+ {% if not isInBLAny %}
+ <a href="/pm/sent?uname={{ user.name }}" title="Написать приватное сообщение">
+ <i data-icon="ei-envelope" data-size="s"></i>
+ <span class="desktop">PM</span>
+ </a>
+ {% endif %}
{% endif %}
{% if visitor is not empty and visitor.uid == user.uid %}
<a href="/?show=my"><i data-icon="ei-clock" data-size="s"></i>