From edd97f59588ee3a2783c409d580c23fb45ab8c1e Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 18 Oct 2013 13:38:30 -0400 Subject: [PATCH] Make show/hide favorite list links larger Just the small arrows are difficult to click by themselves. With the text "Show/Hide" it should be easier. --- app/views/posts/partials/show/_information.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/posts/partials/show/_information.html.erb b/app/views/posts/partials/show/_information.html.erb index 3128c82a7..31eaf3007 100644 --- a/app/views/posts/partials/show/_information.html.erb +++ b/app/views/posts/partials/show/_information.html.erb @@ -16,8 +16,8 @@
  • Score: <%= post.score %> <% if CurrentUser.is_gold? %>(vote <%= link_to "up", post_votes_path(:post_id => post.id, :score => "up"), :remote => true, :method => :post %>/<%= link_to "down", post_votes_path(:post_id => post.id, :score => "down"), :remote => true, :method => :post %><%= link_to "unvote", unvote_post_path(post), :remote => true, :method => :put, :id => "unvote-link-for-post-#{post.id}", :class => "unvote-post-link" %>)<% end %>
  • Favorites: <%= post.fav_count %> <% if CurrentUser.is_gold? %> - <%= link_to "»".html_safe, "#", :id => "show-favlist-link" %> - <%= link_to "«".html_safe, "#", :id => "hide-favlist-link", :style => "display: none;" %> + <%= link_to "Show »".html_safe, "#", :id => "show-favlist-link" %> + <%= link_to "« Hide".html_safe, "#", :id => "hide-favlist-link", :style => "display: none;" %> <% end %>