X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bab3fc9161233635d5d64d1ad37b79efac6a4313..3657c576451610bc6e7f269cbf4f13cb18ff35ba:/apps/workbench/app/views/users/home.html.erb diff --git a/apps/workbench/app/views/users/home.html.erb b/apps/workbench/app/views/users/home.html.erb index 53de550415..9fb2c276a7 100644 --- a/apps/workbench/app/views/users/home.html.erb +++ b/apps/workbench/app/views/users/home.html.erb @@ -1,163 +1 @@ -<% content_for :head do %> - -<% end %> - -<% if current_user.andand.is_active %> - -<% if not Job.limit(1).where(created_by: current_user.uuid).count == 0 %> -
<% image_tag "dax.png" %> You haven't run a job yet
-You haven't run a pipeline yet
-- - <%= link_to j.script[0..31], job_path(j.uuid) %> - - | -- - <%= j.script_version[0..7] %> - - | -- - <%= j.script_parameters.andand[:input].andand.to_s.andand[0..7] %> - - | -
- <% if j.success %>
- finished
- <% elsif j.success == false %>
- failed
- <% elsif j.running and j.started_at and not j.finished_at %>
- <% percent_total_tasks = 100 / (j.tasks_summary[:running] + j.tasks_summary[:done] + j.tasks_summary[:todo]) rescue 0 %>
-
-
-
-
- <% else %>
- queued
- <% end %>
- |
-