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

@@ -2,7 +2,7 @@ module Admin::UsersHelper
def user_level_select(object, field)
options = [
["Member", User::Levels::MEMBER],
["Gold", User::Levels::PRIVILEGED],
["Gold", User::Levels::GOLD],
["Platinum", User::Levels::PLATINUM],
["Builder", User::Levels::BUILDER],
["Contributor", User::Levels::CONTRIBUTOR],

View File

@@ -82,7 +82,7 @@ module ApplicationHelper
if positive_or_negative == :positive
html << " [" + link_to("+", new_user_feedback_path(:user_feedback => {:category => "positive", :user_id => user.id})) + "]"
unless user.is_privileged?
unless user.is_gold?
html << " [" + link_to("invite", new_moderator_invitation_path(:invitation => {:name => user.name, :level => User::Levels::CONTRIBUTOR})) + "]"
end
else

View File

@@ -4,7 +4,7 @@ module Moderator
choices = [
["", ""],
["Member", 20],
["Privileged", 30],
["Gold", 30],
["Contributor", 33],
["Janitor", 35],
["Moderator", 40],

View File

@@ -2,7 +2,7 @@ module Moderator
module InvitationsHelper
def level_select
choices = []
choices << ["Privileged", User::Levels::PRIVILEGED]
choices << ["Gold", User::Levels::GOLD]
choices << ["Contributor", User::Levels::CONTRIBUTOR]
select(:invitation, :level, choices)
end

View File

@@ -10,4 +10,4 @@ module PostAppealsHelper
html << '</ul>'
html.join("\n").html_safe
end
end
end