aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
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>