1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
5 <%= render partial: "paging", locals: {results: @objects, object: @object} %>
7 <table class="table table-condensed arv-index">
17 <tr class="contain-align-left">
21 <th> description </th>
27 <% @objects.sort_by { |ob| ob[:created_at] }.reverse.each do |ob| %>
30 <%= button_to(choose_projects_path(id: "run-workflow-button",
31 title: 'Choose project',
33 action_name: 'Choose',
34 action_href: work_units_path,
35 action_method: 'post',
36 action_data: {'selection_param' => 'work_unit[owner_uuid]',
37 'work_unit[template_uuid]' => ob.uuid,
38 'success' => 'redirect-to-created-object'
40 { class: "btn btn-default btn-xs", title: "Run #{ob.name}", remote: true, method: :get }
42 <i class="fa fa-fw fa-play"></i> Run
47 <%= render :partial => "show_object_button", :locals => {object: ob, size: 'xs'} %>
51 <%= render_editable_attribute ob, 'name' %>
55 <% if ob.description %>
56 <%= render_attribute_as_textile(ob, "description", ob.description, false) %>
62 <%= link_to_if_arvados_object ob.owner_uuid, friendly_name: true %>
69 <%= render partial: "paging", locals: {results: @objects, object: @object} %>