X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f119f7707d93e90842fce3890deffc59c5e7081..71f76a45195266c2d25a42c13b1419b000d60ffb:/apps/workbench/app/views/users/profile.html.erb diff --git a/apps/workbench/app/views/users/profile.html.erb b/apps/workbench/app/views/users/profile.html.erb index 4fefa821ca..5f3a5aa61c 100644 --- a/apps/workbench/app/views/users/profile.html.erb +++ b/apps/workbench/app/views/users/profile.html.erb @@ -1,9 +1,13 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% - profile_config = Rails.configuration.user_profile_form_fields + profile_config = Rails.configuration.Workbench.UserProfileFormFields current_user_profile = current_user.prefs[:profile] show_save_button = false - profile_message = Rails.configuration.user_profile_form_message + profile_message = Rails.configuration.Workbench.UserProfileFormMessage %>
@@ -71,7 +75,7 @@ <% if entry['type'] == 'select' %>
- <% entry['options'].each do |option| %> <% end %> @@ -79,7 +83,7 @@
<% else %>
- +
<% end %>
@@ -89,7 +93,7 @@ <%# If the user has other prefs, we need to preserve them %> <% current_user.prefs.each do |key, value| %> <% if key != :profile %> - + <% end %> <% end %>