Skip to content

Commit

Permalink
updating unit names and removing closed libraries from profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
nnunn committed Sep 24, 2020
1 parent 02b0199 commit acef27d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions app/controllers/profiles_controller.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
class ProfilesController < ApplicationController
$units = {:access => "Access Services", :archives => "Archives", :augustana => "Augustana Library",
:saint => "Bibliothèque Saint-Jean", :business => "Business Library", :bib => "Cataloguing & Metadata Strategies", :collections => "Collection Strategies", :digital => "Digital Initiatives",
:education => "Education / Kinesiology, Sport & Recreation Library", :facilities => "Facilities", :finance => "Financial Systems & Analysis",
:health => "Health Sciences Library", :hr => "Human Resources", :humanities => "Humanities & Social Sciences / Law Libraries",
:its => "Information Technology Services", :admin => "Library and Museums Administration", :science => "Science & Technology Library", :special => "Special Collections",
$units = {:access => "Access Services", :archives => "Archives", :augustana => "Augustana",
:bib => "Cataloguing & Metadata Strategies", :collections => "Collection Strategies",
:digital => "Digital Initiatives", :facilities => "Facilities", :finance => "Financial Systems & Analysis",
:health => "Health Sciences", :hr => "Human Resources", :humanities => "Social Sciences, Humanities, and Law",
:iss => "Information Services & User Engagement", :its => "Information Technology Services", :admin => "Library and Museums Administration",
:science => "Sciences, Engineering, and Business", :special => "Special Collections",
:press => "University of Alberta Press"}
$buildings = {:augustana => "Augustana Campus Library", :bsj => "Bibliothèque Saint-Jean", :bpsc=> "Bruce Peel Special Collections",
:cameron => "Cameron Library", :coutts => "Herbert T. Coutts Library ", :law => "J.A. Weir Law Library", :scott => "J.W. Scott Library",
:cameron => "Cameron Library", :law => "J.A. Weir Law Library", :scott => "J.W. Scott Library",
:rcrf => "Research & Collections Resource Facility", :press => "Ring House 2", :rutherford => "Rutherford",
:stjosephs => "St. Joseph's Library", :winspear => "Winspear Library" }
:stjosephs => "St. Joseph's Library" }

# You'll have to define "cmsPassword" in secrets.yml, or this will fail. Thanks, ansible.
http_basic_authenticate_with name: Rails.application.secrets.cms_user, password: Rails.application.secrets.cms_password, except: [:index, :show]
Expand Down

0 comments on commit acef27d

Please sign in to comment.