rename references of privileged to gold
This commit is contained in:
@@ -6,4 +6,4 @@
|
||||
<%= submit_tag "Submit" %>
|
||||
<%= submit_tag "Cancel" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<% if CurrentUser.is_privileged? %>
|
||||
<% if CurrentUser.is_gold? %>
|
||||
<section id="mode-box">
|
||||
<h1>Mode</h1>
|
||||
<form action="/">
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
</li>
|
||||
<li>Source: <%= post_source_tag(post) %></li>
|
||||
<li>Rating: <%= post.pretty_rating %></li>
|
||||
<li>Score: <span id="score-for-post-<%= post.id %>"><%= post.score %></span> <% if CurrentUser.is_privileged? %>(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>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_privileged? && post.fav_count > 0 %>
|
||||
<% 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 => "hide-favlist-link" %>
|
||||
<div id="favlist"></div>
|
||||
@@ -42,4 +42,4 @@
|
||||
Active
|
||||
<% end %>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
@@ -46,4 +46,4 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
@@ -1 +1 @@
|
||||
location.reload();
|
||||
location.reload();
|
||||
|
||||
Reference in New Issue
Block a user