aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-01-19 14:43:37 +0300
committerGravatar Vitaly Takmazov2018-01-19 14:43:37 +0300
commit0f2fb99be6c76f0faff093297b78535d76aa5745 (patch)
treee8a3c68b455089130e8b1e2dab60433939c8ce70 /juick-www/src/main
parentd21cb35f1bb3a0b1a2ba7b91a1a9364885806809 (diff)
www: msg-button-icon
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/static/style.css3
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/message.html20
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/thread.html12
3 files changed, 19 insertions, 16 deletions
diff --git a/juick-www/src/main/static/style.css b/juick-www/src/main/static/style.css
index 1a1de744..3b6d031d 100644
--- a/juick-www/src/main/static/style.css
+++ b/juick-www/src/main/static/style.css
@@ -344,6 +344,9 @@ article .tags > a,
flex-direction: column;
align-items: center;
}
+.l .msg-button-icon {
+ font-weight: bold;
+}
.msgthread {
margin-bottom: 0;
}
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
index 6babe203..33f0f5c6 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
@@ -27,34 +27,34 @@
<nav class="l">
{% if visitor.uid == msg.user.uid %}
<a href="/{{ msg.mid }}" class="a-like msg-button">
- <span>
+ <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>
{% elseif visitor.uid > 0 %}
<a href="/post?body=!+%23{{ msg.mid }}" class="a-like msg-button">
- <span>
+ <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>
{% else %}
<a href="/login" class="a-login msg-button">
- <span>
+ <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>
{% endif %}
{% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
<a href="/{{ msg.mid }}" class="a-comment msg-button">
- <span>
+ <span class="msg-button-icon">
<i data-icon="ei-comment" data-size="s"></i>
- {% if msg.Replies > 0 %}&nbsp;({{ msg.Replies }}){% endif %}
+ {% if msg.Replies > 0 %}&nbsp;{{ msg.Replies }}{% endif %}
</span>
<span>&nbsp;{{ i18n("messages","message.comment") }}</span>
</a>
@@ -64,9 +64,9 @@
</a>
{% elseif visitor.uid == 0 and not msg.ReadOnly %}
<a href="/login" class="a-login msg-button">
- <span>
+ <span class="msg-button-icon">
<i data-icon="ei-comment" data-size="s"></i>
- {% if msg.Replies > 0 %}&nbsp;({{ msg.Replies }}){% endif %}
+ {% if msg.Replies > 0 %}&nbsp;{{ msg.Replies }}{% endif %}
</span>
<span>&nbsp;{{ i18n("messages","message.comment") }}</span>
</a>
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 685115be..00f889c9 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/thread.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html
@@ -34,25 +34,25 @@
<nav class="l">
{% if visitor.uid == msg.user.uid %}
<a href="/{{ msg.mid }}" class="a-like msg-button">
- <span>
+ <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>
{% elseif visitor.uid > 0 %}
<a href="/post?body=!+%23{{ msg.mid }}" class="a-like msg-button">
- <span>
+ <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>
{% else %}
<a href="/login" class="a-login msg-button">
- <span>
+ <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>