aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/resources/templates/views
diff options
context:
space:
mode:
authorGravatar mykhailo.dubovskyi2018-04-18 15:57:53 +0300
committerGravatar Vitaly Takmazov2018-04-20 11:03:47 +0300
commit842e903d5b987dd23e82a423bddae75acdea0c9c (patch)
tree59eabfb9969b6cbe00703674f8d3ddb7d2e029e0 /juick-www/src/main/resources/templates/views
parentef1c674b0dc1979e46e970ad67ccc7a9bb67b001 (diff)
Like -> Reaction
Diffstat (limited to 'juick-www/src/main/resources/templates/views')
-rw-r--r--juick-www/src/main/resources/templates/views/partial/message.html6
-rw-r--r--juick-www/src/main/resources/templates/views/thread.html15
2 files changed, 10 insertions, 11 deletions
diff --git a/juick-www/src/main/resources/templates/views/partial/message.html b/juick-www/src/main/resources/templates/views/partial/message.html
index 2e3667f2..0b6db3df 100644
--- a/juick-www/src/main/resources/templates/views/partial/message.html
+++ b/juick-www/src/main/resources/templates/views/partial/message.html
@@ -29,7 +29,7 @@
<a href="/{{ msg.mid }}" class="a-like msg-button">
<span class="msg-button-icon">
<i data-icon="ei-heart" data-size="s"></i>
- {% if msg.Likes > 0 %}&nbsp;{{ msg.Likes }}{% endif %}
+ {% if msg.likes > 0 %}&nbsp;{{ msg.likes }}{% endif %}
</span>
<span>&nbsp;{{ i18n("messages","message.recommend") }}</span>
</a>
@@ -37,7 +37,7 @@
<a href="/post?body=!+%23{{ msg.mid }}" class="a-like msg-button">
<span class="msg-button-icon">
<i data-icon="ei-heart" data-size="s"></i>
- {% if msg.Likes > 0 %}&nbsp;{{ msg.Likes }}{% endif %}
+ {% if msg.likes > 0 %}&nbsp;{{ msg.likes }}{% endif %}
</span>
<span>&nbsp;{{ i18n("messages","message.recommend") }}</span>
</a>
@@ -45,7 +45,7 @@
<a href="/login" class="a-login msg-button">
<span class="msg-button-icon">
<i data-icon="ei-heart" data-size="s"></i>
- {% if msg.Likes > 0 %}&nbsp;{{ msg.Likes }}{% endif %}
+ {% if msg.likes > 0 %}&nbsp;{{ msg.likes }}{% endif %}
</span>
<span>&nbsp;{{ i18n("messages","message.recommend") }}</span>
</a>
diff --git a/juick-www/src/main/resources/templates/views/thread.html b/juick-www/src/main/resources/templates/views/thread.html
index ae429365..5981bd10 100644
--- a/juick-www/src/main/resources/templates/views/thread.html
+++ b/juick-www/src/main/resources/templates/views/thread.html
@@ -6,8 +6,7 @@
<div class="msg-cont" itemscope="" itemtype="http://schema.org/BlogPosting" itemref="org">
<div class="msg-header">
<div class="msg-avatar">
- <a href="/{{ msg.user.name }}/">
- <img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/></a>
+ <a href="/{{ msg.user.name }}/"><img src="//i.juick.com/a/{{ msg.user.uid }}.png" alt="{{ msg.user.name }}"/></a>
</div>
<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>
@@ -64,24 +63,24 @@
<span>&nbsp;{{ i18n("messages","message.share") }}</span>
</a>
{% if visitor.uid > 0 %}
- {% if visitor.uid != msg.user.uid %}
- {% if visitorSubscribed %}
+ {% if visitor.uid != msg.user.uid %}
+ {% if visitorSubscribed %}
<a href="/post?body=U+%23{{ msg.mid }}" class="msg-button">
<i data-icon="ei-check" data-size="s"></i>
<span>&nbsp;{{ i18n("messages","message.subscribed") }}</span>
</a>
- {% else %}
+ {% else %}
<a href="/post?body=S+%23{{ msg.mid }}" class="msg-button">
<i data-icon="ei-eye" data-size="s"></i>
<span>&nbsp;{{ i18n("messages","message.subscribe") }}</span>
</a>
- {% endif %}
- {% else %}
+ {% endif %}
+ {% else %}
<a href="/post?body=D+%23{{ msg.mid }}" class="msg-button">
<i data-icon="ei-close" data-size="s"></i>
<span>&nbsp;{{ i18n("messages","message.delete") }}</span>
</a>
- {% endif %}
+ {% endif %}
{% endif %}
{% if msg.FriendsOnly %}
<a href="#" class="a-privacy">Открыть доступ</a>