<% if current_user.andand.is_active %> <% if @my_ssh_keys.count == 0 || @showallalerts %>
<%= image_tag "dax.png", class: "dax" %>
Hi, I noticed that you have not yet set up an SSH public key for use with Arvados. <%= link_to "Click here to learn about SSH keys in Arvados.", "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access.html", style: "font-weight: bold", target: "_blank" %> When you have an SSH key you would like to use, paste the SSH public key in the text box.
<%= form_for AuthorizedKey.new, remote: true do |f| %>
<%= hidden_field_tag :return_to, request.original_url %> <%= hidden_field_tag :disable_element, 'input[type=submit]' %> <%= f.text_area :public_key, rows: 4, placeholder: "Paste your public key here", style: "width: 100%" %>
<%= f.submit :Save, value: raw("✓"), class: "btn btn-primary pull-right", style: "width: 100%" %>
<% end %>
<% end %> <% if @my_collections.count == 0 || @showallalerts %>
<%= image_tag "dax.png", class: "dax" %>

Hi, I noticed you haven't uploaded a new collection yet. <%= link_to "Click here to learn how to upload data to Arvados Keep.", "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-keep.html", style: "font-weight: bold", target: "_blank" %>

<% end %> <% if @my_jobs.count == 0 || @showallalerts %>

<%= image_tag "dax.png", class: "dax" %> Hi, I noticed you haven't run a job yet. <%= link_to "Click here to learn how to run an Arvados Crunch job.", "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-job1.html", style: "font-weight: bold", target: "_blank" %>

<% end %> <% if @my_pipelines.count == 0 || @showallalerts %>

<%= image_tag "dax.png", class: "dax" %> Hi, I noticed you haven't run a pipeline yet. <%= link_to "Click here to learn how to run an Arvados Crunch pipeline.", "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-new-pipeline.html", style: "font-weight: bold", target: "_blank" %>

<% end %> <% end %>

Useful links

<% if current_user.andand.is_active %>

System status

<% [Human, Trait, Collection, PipelineTemplate, PipelineInstance].each do |aclass| %> <% end %>
<%= raw(aclass.to_s.pluralize.underscore.capitalize.gsub '_', ' ') %> <%= aclass.limit(0).where({}).items_available || aclass.limit(4000).where({}).count %>
<% end %>