Skip to content

Commit

Permalink
Merge pull request #2971 from benwbrum/2970-add-staff-to-edit
Browse files Browse the repository at this point in the history
Added Staff account type to admin user edit screen #2970
  • Loading branch information
saracarl committed Feb 3, 2022
2 parents b18e2c5 + e31ecc9 commit aec08e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/edit_user.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
span =t('.this_user_is_an_owner')
tr
th =f.label :account_type
td =f.select(:account_type, options_for_select([t('.individual_researcher'), t('.small_organization'), t('.large_institution'), t('.trial'), t('.legacy')], selected: @user.account_type))
td =f.select(:account_type, options_for_select([t('.individual_researcher'), t('.small_organization'), t('.large_institution'), t('.trial'), t('.staff'), t('.legacy')], selected: @user.account_type))
tr
th =f.label :start_date, t('.start_date')
td =f.text_field :start_date, placeholder: 'YYYY-MM-DD'
Expand Down
1 change: 1 addition & 0 deletions config/locales/admin/admin-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ en:
large_institution: "Large Institution"
trial: "Trial"
legacy: "Legacy"
staff: "Staff"
start_date: "Start Date"
acct_expiration: "Acct Expiration"
downgrade: "Downgrade"
Expand Down

0 comments on commit aec08e6

Please sign in to comment.