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

@@ -12,7 +12,7 @@
<li>|</li>
<% if @user.id == CurrentUser.id %>
<li><%= link_to "Settings", edit_user_path(CurrentUser.user) %></li>
<% if @user.is_privileged? %>
<% if @user.is_gold? %>
<li><%= link_to "Edit subscriptions", tag_subscriptions_path %></li>
<% end %>
<li><%= link_to "Profile", user_path(CurrentUser.user) %></li>
@@ -21,7 +21,7 @@
<li><%= link_to "Send message", new_dmail_path(:dmail => {:to_id => @user.id}) %></li>
<% end %>
<% if !CurrentUser.is_privileged? %>
<% if !CurrentUser.is_gold? %>
<li><%= link_to "Upgrade", upgrade_information_users_path %></li>
<% end %>

View File

@@ -124,4 +124,4 @@
</tr>
<% end %>
</table>
</div>
</div>

View File

@@ -9,7 +9,7 @@
<div class="input">
<label>Name</label>
<% if CurrentUser.user.is_privileged? %>
<% if CurrentUser.user.is_gold? %>
<p><%= link_to "Request a name change", new_user_name_change_request_path %></p>
<% else %>
<p>You must <%= link_to "upgrade your account", upgrade_information_users_path %> to request a name change</p>
@@ -21,7 +21,7 @@
<%= f.input :comment_threshold, :hint => "Comments below this score will be hidden by default" %>
<%= f.input :default_image_size, :hint => "Show original image or show resampled #{Danbooru.config.large_image_width} pixel version", :label => "Default image width", :collection => [["850px", "large"], ["original", "original"]], :include_blank => false %>
<% if CurrentUser.user.is_privileged? %>
<% if CurrentUser.user.is_gold? %>
<%= f.input :per_page, :label => "Posts per page", :as => :select, :collection => (1..100), :include_blank => false %>
<% end %>