X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4ed794e2803ef9812dbc7ae938a8e17b3b9714c1..0821f5481edd016a3744bb50d97a9e5b99cd1a0f:/apps/workbench/app/views/projects/_show_dashboard.html.erb diff --git a/apps/workbench/app/views/projects/_show_dashboard.html.erb b/apps/workbench/app/views/projects/_show_dashboard.html.erb index afca2468d7..c02577fcfd 100644 --- a/apps/workbench/app/views/projects/_show_dashboard.html.erb +++ b/apps/workbench/app/views/projects/_show_dashboard.html.erb @@ -7,12 +7,12 @@ <%= link_to( - choose_pipeline_templates_path( - title: 'Choose a pipeline to run:', + choose_work_unit_templates_path( + title: 'Choose a pipeline or workflow to run:', action_name: 'Next: choose inputs ', - action_href: pipeline_instances_path, + action_href: work_units_path, action_method: 'post', - action_data: {'selection_param' => 'pipeline_instance[pipeline_template_uuid]', 'pipeline_instance[owner_uuid]' => current_user.uuid, 'success' => 'redirect-to-created-object'}.to_json), + action_data: {'selection_param' => 'work_unit[template_uuid]', 'work_unit[owner_uuid]' => current_user.uuid, 'success' => 'redirect-to-created-object'}.to_json), { class: "btn btn-primary btn-xs", remote: true }) do %> Run a pipeline... <% end %> @@ -60,13 +60,21 @@ <% else %>
-
- <%= link_to_if_arvados_object p, {friendly_name: true} %> -
+
+
+ <%= link_to_if_arvados_object p, {friendly_name: true} %> +
+ <% if wu.is_running? %> +
<% wu.progress %>
+ <% else %> +
+ <%=wu.state_label%> +
+ <% end %>
<%