X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/169b8e0907cd03859c6b32366d278ca9f79b8ef3..44c95f99098fa6c6acbfa82d4b6cbc6015eb6e39:/apps/workbench/app/views/users/home.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/users/home.html.erb b/apps/workbench/app/views/users/home.html.erb index 5646824f00..8d212cd52c 100644 --- a/apps/workbench/app/views/users/home.html.erb +++ b/apps/workbench/app/views/users/home.html.erb @@ -1,140 +1,5 @@ -<% content_for :head do %> - -<% end %> +<%# Copyright (C) The Arvados Authors. All rights reserved. -
-
-
-

Account summary

-
- <% [Human, Specimen, Trait, Collection, PipelineTemplate, PipelineInstance].each do |aclass| %> -
- <%= aclass.limit(1000).where({owner_uuid:current_user.uuid}).count %> -
- <%= raw(aclass.to_s.pluralize.underscore.gsub '_', ' ') %> -
-<% end %> -
-
-
-
+SPDX-License-Identifier: AGPL-3.0 %> -
-
- -
-
-
-

Quick links

-
- -
-
-
-
-
-

Recent jobs

- <% if not current_user.andand.is_active or @my_jobs.empty? %> - (None) - <% else %> - - <% @my_jobs[0..8].each do |j| %> - - - - - - - <% end %> -
- - <%= 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 %> -
- <%= link_to raw("Show more jobs / details →"), jobs_path, class: 'pull-right' %> - <% end %> -
-
-
+<%= render :partial => 'home' %>