aboutsummaryrefslogtreecommitdiff
path: root/client/html/post_readonly_sidebar.tpl
diff options
context:
space:
mode:
authorrr-2016-06-11 21:41:10 +0200
committerrr-2016-06-11 22:34:01 +0200
commit07603be35e9abd589362ab0ed766a77a30233e1a (patch)
tree08d42888b0633b0a4e817c3f1283b1eb2556bef1 /client/html/post_readonly_sidebar.tpl
parente9fb93d5c8b5c56381efedf1a5572da4c96b2f45 (diff)
client/posts: add Vimperator hints to vote buttons
Diffstat (limited to 'client/html/post_readonly_sidebar.tpl')
-rw-r--r--client/html/post_readonly_sidebar.tpl17
1 files 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 { %>
<i class='fa fa-thumbs-o-up'></i>
<% } %>
- <span class='hint'></span>
+ <span class='vim-nav-hint'>upvote</span>
+ <span class='vim-nav-hint'>like</span>
</a>
<% } else { %>
<a class='upvote inactive'>
@@ -61,7 +62,8 @@
<% } else { %>
<i class='fa fa-thumbs-o-down'></i>
<% } %>
- <span class='hint'></span>
+ <span class='vim-nav-hint'>downvote</span>
+ <span class='vim-nav-hint'>dislike</span>
</a>
<% } %>
</div>
@@ -69,13 +71,18 @@
<div class='fav'>
<% if (ctx.canFavoritePosts) { %>
<% if (ctx.post.ownFavorite) { %>
- <a class='remove-favorite' href='#'><i class='fa fa-heart'></i></a>
+ <a class='remove-favorite' href='#'>
+ <i class='fa fa-heart'></i>
<% } else { %>
- <a class='add-favorite' href='#'><i class='fa fa-heart-o'></i></a>
+ <a class='add-favorite' href='#'>
+ <i class='fa fa-heart-o'></i>
<% } %>
<% } else { %>
- <a class='add-favorite inactive'><i class='fa fa-heart-o'></i></a>
+ <a class='add-favorite inactive'>
+ <i class='fa fa-heart-o'></i>
<% } %>
+ <span class='vim-nav-hint'>add to favorites</span>
+ </a>
<span class='value'><%= ctx.post.favoriteCount %></span>
</div>
</section>

© 2015 - 2026 Jakob L. Kreuze