diff options
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/blog.html')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/blog.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/blog.html b/juick-www/src/main/webapp/WEB-INF/views/blog.html index f68ebf3e..a47e952a 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/blog.html +++ b/juick-www/src/main/webapp/WEB-INF/views/blog.html @@ -39,12 +39,12 @@ {% if not readonly %} <nav class="l"> {% if visitor.uid > 0 %} - <a href="/post?body=!+%23{{ msg.getMid() }}" class="a-like">{{ i18n("messages","message.recommend") }}</a> + <a href="/post?body=!+%23{{ msg.mid }}" class="a-like">{{ i18n("messages","message.recommend") }}</a> {% else %} <a href="/login" class="a-login">{{ i18n("messages","message.recommend") }}</a> {% endif %} {% if visitor.uid > 0 and (not msg.ReadOnly or visitor.uid == msg.user.uid) %} - <a href="/{{ msg.getMid() }}" class="a-comment">{{ i18n("messages","message.comment") }}</a> + <a href="/{{ msg.mid }}" class="a-comment">{{ i18n("messages","message.comment") }}</a> {% elseif visitor.uid == 0 and not msg.ReadOnly %} <a href="/login" class="a-login">{{ i18n("messages","message.comment") }}</a> {% endif %} @@ -60,11 +60,11 @@ {% endif %} <nav class="s"> {% if msg.Likes > 0 %} - <a href="/{{ msg.getUser().getName() }}/{{ msg.getMid() }}" class="likes"> + <a href="/{{ msg.user.name }}/{{ msg.mid }}" class="likes"> <i data-icon="ei-heart" data-size="s"></i> {{ msg.Likes }}</a> {% endif %} {% if msg.Replies > 0 %} - <a href="/{{ msg.getUser().getName() }}/{{ msg.getMid() }}" class="replies"> + <a href="/{{ msg.user.name }}/{{ msg.mid }}" class="replies"> <i data-icon="ei-comment" data-size="s"></i> {{ msg.Replies }}</a> {% endif %} </nav> |