X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/964ab3dd90ff1508efc0c77378cde2b3a4da1029..cc572d714646b424d70facff4feb6d36480e8f7c:/apps/workbench/app/views/users/profile.html.erb?ds=inline diff --git a/apps/workbench/app/views/users/profile.html.erb b/apps/workbench/app/views/users/profile.html.erb index aab8843930..26d1f57211 100644 --- a/apps/workbench/app/views/users/profile.html.erb +++ b/apps/workbench/app/views/users/profile.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% profile_config = Rails.configuration.user_profile_form_fields current_user_profile = current_user.prefs[:profile] @@ -16,7 +20,11 @@
Thank you for filling in your profile. <%= link_to 'Back to work!', params[:offer_return_to], class: 'btn btn-sm btn-primary' %>
+ <% if current_user.prefs[:getting_started_shown] %> +Thank you for filling in your profile. <%= link_to 'Back to work!', params[:offer_return_to], class: 'btn btn-sm btn-primary' %>
+ <% else %> +Thank you for filling in your profile. <%= link_to 'Get started', params[:offer_return_to], class: 'btn btn-sm btn-primary' %>
+ <% end %><%=current_user.email%>
<%=current_user.first_name%>
<%=current_user.last_name%>