fixes #1403
This commit is contained in:
@@ -1 +0,0 @@
|
||||
<%= post.favorited_users.reverse_each.map{|user| link_to_user(user)}.join(", ").html_safe %>
|
||||
@@ -1,3 +0,0 @@
|
||||
$("#favlist").html("<%= j(render(:partial => "favorites/favorited_users_list", :locals => { :post => @post }))%>");
|
||||
|
||||
$("#show-favlist-link").attr("href", "#").removeAttr("data-remote");
|
||||
@@ -16,9 +16,9 @@
|
||||
<li>Score: <span id="score-for-post-<%= post.id %>"><%= post.score %></span> <% 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 %>)<% end %></li>
|
||||
<li>Favorites: <span id="favcount-for-post-<%= post.id %>"><%= post.fav_count %></span>
|
||||
<% if CurrentUser.is_gold? && post.fav_count > 0 %>
|
||||
<%= link_to "»".html_safe, favorites_path(:post_id => post.id), :remote => true, :id => "show-favlist-link" %>
|
||||
<%= link_to "»".html_safe, "#", :id => "show-favlist-link" %>
|
||||
<%= link_to "«".html_safe, "#", :id => "hide-favlist-link" %>
|
||||
<div id="favlist"></div>
|
||||
<div id="favlist"><%= post_favlist(post) %></div>
|
||||
<% end %></li>
|
||||
<li>
|
||||
Status:
|
||||
|
||||
Reference in New Issue
Block a user