X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e5e28415e44e4b3cc1695ba827a1ebc0256fafdd..4c8ec1b2166a81b05b2b6cf5a6fae5b839876802:/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 620b3ee459..aab8843930 100644 --- a/apps/workbench/app/views/users/profile.html.erb +++ b/apps/workbench/app/views/users/profile.html.erb @@ -1,9 +1,9 @@ <% profile_config = Rails.configuration.user_profile_form_fields - this_user = User.limit(1).where(uuid: current_user.uuid).first - user_prefs = User.limit(1).where(uuid: current_user.uuid).first.prefs - current_user_profile = user_prefs[:profile] if user_prefs + current_user_profile = current_user.prefs[:profile] show_save_button = false + + profile_message = Rails.configuration.user_profile_form_message %>
<%=profile_message%>
Thank you for filling in your profile. <%= link_to 'Back to work!', params[:offer_return_to], class: 'btn btn-sm btn-primary' %>
+<%=raw(profile_message)%>
+<%=current_user.email%>
<%=current_user.first_name%>
<%=current_user.last_name%>
<%=this_user.andand.identity_url%>
+<%=current_user.andand.identity_url%>