rename references of privileged to gold

This commit is contained in:
r888888888
2013-04-28 00:04:52 -07:00
parent 6a00c6330f
commit d5f575159f
112 changed files with 165 additions and 165 deletions

View File

@@ -6,4 +6,4 @@
<%= submit_tag "Submit" %>
<%= submit_tag "Cancel" %>
<% end %>
</div>
</div>

View File

@@ -1,4 +1,4 @@
<% if CurrentUser.is_privileged? %>
<% if CurrentUser.is_gold? %>
<section id="mode-box">
<h1>Mode</h1>
<form action="/">

View File

@@ -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 "&raquo;".html_safe, favorites_path(:post_id => post.id), :remote => true, :id => "show-favlist-link" %>
<%= link_to "&laquo;".html_safe, "#", :id => "hide-favlist-link" %>
<div id="favlist"></div>
@@ -42,4 +42,4 @@
Active
<% end %>
</li>
</ul>
</ul>

View File

@@ -46,4 +46,4 @@
<% end %>
<% end %>
<% end %>
</ul>
</ul>

View File

@@ -1 +1 @@
location.reload();
location.reload();