X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bab3fc9161233635d5d64d1ad37b79efac6a4313..64e387b2f4f0fe6c4c7bf16232706c7cf194caf0:/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..8d212cd52c 100644 --- a/apps/workbench/app/views/users/home.html.erb +++ b/apps/workbench/app/views/users/home.html.erb @@ -1,163 +1,5 @@ -<% content_for :head do %> - -<% end %> +<%# Copyright (C) The Arvados Authors. All rights reserved. -<% if current_user.andand.is_active %> +SPDX-License-Identifier: AGPL-3.0 %> -<% 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 %>
- |
-