rename references of privileged to gold
This commit is contained in:
@@ -1 +1 @@
|
||||
$("div.comments-for-post[data-post-id=<%= @comment.post_id %>] div.list-of-comments").append("<%= escape_javascript(render('comments/partials/show/comment', :comment => @comment)) %>");
|
||||
$("div.comments-for-post[data-post-id=<%= @comment.post_id %>] div.list-of-comments").append("<%= escape_javascript(render('comments/partials/show/comment', :comment => @comment)) %>");
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<strong>Score</strong>
|
||||
<span>
|
||||
<span id="score-for-post-<%= post.id %>"><%= post.score %></span>
|
||||
<% if CurrentUser.is_privileged? %>
|
||||
<% if CurrentUser.is_gold? %>
|
||||
(vote <%= link_to("up", post_votes_path(:score => "up", :post_id => post.id), :remote => true, :method => :post) %>/<%= link_to("down", post_votes_path(:score => "down", :post_id => post.id), :remote => true, :method => :post) %>)
|
||||
<% end %>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user