diff --git a/app/views/user_admin/contests.html.erb b/app/views/user_admin/contests.html.erb --- a/app/views/user_admin/contests.html.erb +++ b/app/views/user_admin/contests.html.erb @@ -5,7 +5,7 @@
<%= link_to '[View all users]', :action => 'list' %> - <% if Configuration.multicontests? %> + <% if GraderConfiguration.multicontests? %> <%= link_to '[Manage bulk users in contests]', :action => 'contest_management' %>
View users in: @@ -32,7 +32,7 @@ - <% if Configuration.multicontests? %> + <% if GraderConfiguration.multicontests? %> Contests Other enabled contests <% end %> @@ -47,7 +47,7 @@ <%= link_to 'Show', :action => 'show', :id => user %> <%= link_to 'Edit', :action => 'edit', :id => user %> <%= link_to 'Destroy', { :action => 'destroy', :id => user }, :confirm => 'Are you sure?', :method => :post %> - <% if Configuration.multicontests? %> + <% if GraderConfiguration.multicontests? %> <% user.contests.each do |contest| %> <%= contest.name %> [<%= link_to 'x', :action => 'remove_from_contest', :id => user.id, :contest_id => contest.id %>]