X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/91d83dc26c64bb0eff00e1c73e284a2dacafc840..0b187b107128a57c1f0c00057d39979ab53d4137:/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 a95f14da39..af7a71dc72 100644 --- a/apps/workbench/app/views/users/profile.html.erb +++ b/apps/workbench/app/views/users/profile.html.erb @@ -1 +1,106 @@ -<%= render :partial => 'users/profile' %> +<% + profile_config = Rails.configuration.user_profile_form_fields + current_user_profile = current_user.prefs[:profile] + show_save_button = false + + profile_message = Rails.configuration.user_profile_form_message +%> + +
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 %> +<%=raw(profile_message)%>
+<%=current_user.email%>
+<%=current_user.first_name%>
+<%=current_user.last_name%>
+<%=current_user.andand.identity_url%>
+