From 07603be35e9abd589362ab0ed766a77a30233e1a Mon Sep 17 00:00:00 2001 From: rr- Date: Sat, 11 Jun 2016 21:41:10 +0200 Subject: [PATCH] client/posts: add Vimperator hints to vote buttons --- client/html/post_readonly_sidebar.tpl | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/client/html/post_readonly_sidebar.tpl b/client/html/post_readonly_sidebar.tpl index a95e5c3..bd03475 100644 --- a/client/html/post_readonly_sidebar.tpl +++ b/client/html/post_readonly_sidebar.tpl @@ -46,7 +46,8 @@ <% } else { %> <% } %> - + upvote + like <% } else { %> @@ -61,7 +62,8 @@ <% } else { %> <% } %> - + downvote + dislike <% } %> @@ -69,13 +71,18 @@
<% if (ctx.canFavoritePosts) { %> <% if (ctx.post.ownFavorite) { %> - + + <% } else { %> - + + <% } %> <% } else { %> - + + <% } %> + add to favorites + <%= ctx.post.favoriteCount %>