diff options
author | Killy | 2017-11-05 19:11:32 +0300 |
---|---|---|
committer | KillyMXI | 2017-12-27 15:04:57 +0300 |
commit | 4550ab47a0eff300f8f4811bc211c2d9b9554e61 (patch) | |
tree | 10ec41cbfd54d4e73098910fb635d8b47d49741f /juick-www/src/main/webapp/WEB-INF/views/thread.html | |
parent | 573971d10d7af79b74ce367383ab445814dcb039 (diff) |
www: responsive layout
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/thread.html')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/thread.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/thread.html b/juick-www/src/main/webapp/WEB-INF/views/thread.html index a488b960..fc6ad086 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/thread.html +++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html @@ -17,7 +17,7 @@ </div> <div class="msg-header"> <span itemprop="author" itemscope="" itemtype="http://schema.org/Person"> - <a itemprop="url" rel="author" href="/{{ msg.user.name }}/"><span itemprop="name">{{ msg.user.name }}</span></a> + <a itemprop="url" rel="author" href="/{{ msg.user.name }}/"><span itemprop="name">{{ msg.user.name }}</span></a> </span> <div class="msg-tags" itemprop="headline"> {{ tags(msg.user.name, msg.tags | tagsList) }} @@ -34,36 +34,37 @@ <nav class="l"> {% if visitor.uid == msg.user.uid %} <a href="/{{ msg.mid }}"> - <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} + <i data-icon="ei-heart" data-size="s"></i><span> {{ i18n("messages","message.recommend") }}</span> {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> {% elseif visitor.uid > 0 %} <a href="/post?body=!+%23{{ msg.mid }}" class="a-like"> - <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} + <i data-icon="ei-heart" data-size="s"></i><span> {{ i18n("messages","message.recommend") }}</span> {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> {% else %} <a href="/login" class="a-login"> - <i data-icon="ei-heart" data-size="s"></i> {{ i18n("messages","message.recommend") }} + <i data-icon="ei-heart" data-size="s"></i><span> {{ i18n("messages","message.recommend") }}</span> {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} </a> {% endif %} - <a href="#" class="msg-menu"><i data-icon="ei-link" data-size="s"></i> {{ i18n("messages","message.share") }}</a> + <a href="#" class="msg-menu"> + <i data-icon="ei-link" data-size="s"></i><span> {{ i18n("messages","message.share") }}</span> + </a> {% if visitor.uid > 0 %} {% if visitor.uid != msg.user.uid %} {% if visitorSubscribed %} <a href="/post?body=U+%23{{ msg.mid }}"> - <i data-icon="ei-check" data-size="s"></i> {{ i18n("messages","message.subscribed") }} + <i data-icon="ei-check" data-size="s"></i><span> {{ i18n("messages","message.subscribed") }}</span> </a> {% else %} <a href="/post?body=S+%23{{ msg.mid }}"> - <i data-icon="ei-eye" data-size="s"></i> - {{ i18n("messages","message.subscribe") }} + <i data-icon="ei-eye" data-size="s"></i><span> {{ i18n("messages","message.subscribe") }}</span> </a> {% endif %} {% else %} <a href="/post?body=D+%23{{ msg.mid }}"> - <i data-icon="ei-close" data-size="s"></i> {{ i18n("messages","message.delete") }} + <i data-icon="ei-close" data-size="s"></i><span> {{ i18n("messages","message.delete") }}</span> </a> {% endif %} {% endif %} |