X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/17379ed7eb6e143667e53097f5ada570f051efd1..e0f4124bd0156f7cb029e5330e256086962f9e8e:/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 82c2c15e40..af7a71dc72 100644 --- a/apps/workbench/app/views/users/profile.html.erb +++ b/apps/workbench/app/views/users/profile.html.erb @@ -16,7 +16,7 @@
<% if !missing_required_profile? && params[:offer_return_to] %>
- <% if current_user.prefs['getting_started_shown'] %> + <% 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' %>

@@ -71,7 +71,7 @@ <% if entry['type'] == 'select' %>
- <% entry['options'].each do |option| %> <% end %> @@ -79,7 +79,7 @@
<% else %>
- +
<% end %>
@@ -89,7 +89,7 @@ <%# If the user has other prefs, we need to preserve them %> <% current_user.prefs.each do |key, value| %> <% if key != :profile %> - + <% end %> <% end %>