[ARVADOS] created: 1.1.1-262-g484246a
Git user
git at public.curoverse.com
Thu Dec 14 18:05:44 EST 2017
at 484246ac0d582f08f924b5a347f66135c939c6f6 (commit)
commit 484246ac0d582f08f924b5a347f66135c939c6f6
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Thu Dec 14 18:05:23 2017 -0500
12377: Add link to composer on workbench
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/apps/workbench/app/assets/javascripts/work_unit_log.js b/apps/workbench/app/assets/javascripts/work_unit_log.js
index 543690b..4962994 100644
--- a/apps/workbench/app/assets/javascripts/work_unit_log.js
+++ b/apps/workbench/app/assets/javascripts/work_unit_log.js
@@ -39,10 +39,7 @@ $(document).on('arv-log-event', '.arv-log-event-handler-append-logs', function(e
txt += stamp + "Container "+eventData.object_uuid+" started\n";
break;
case "Complete":
- var outcome = eventData.properties.new_attributes.exit_code === 0 ? "success" : "failure";
- txt += stamp + "Container "+eventData.object_uuid+" finished with exit code " +
- eventData.properties.new_attributes.exit_code +
- " ("+outcome+")\n";
+ txt += stamp + "Container "+eventData.object_uuid+" finished\n";
break;
case "Cancelled":
txt += stamp + "Container "+eventData.object_uuid+" was cancelled\n";
diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb
index c1399f2..174e35f 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -72,7 +72,13 @@ SPDX-License-Identifier: AGPL-3.0 %>
</li>
<% if current_user.is_active %>
<li role="menuitem"><a href="/projects/<%=current_user.uuid%>" role="menuitem"><i class="fa fa-lg fa-home fa-fw"></i> Home project </a></li>
-
+ <% if Rails.configuration.composer_url %>
+ <li role="menuitem">
+ <%= link_to Rails.configuration.composer_url, role: 'menu-item' do %>
+ <i class="fa fa-lg fa-share-alt fa-fw"></i> Workflow Composer
+ <% end %>
+ </li>
+ <% end %>
<li role="menuitem">
<%= link_to virtual_machines_user_path(current_user), role: 'menu-item' do %>
<i class="fa fa-lg fa-terminal fa-fw"></i> Virtual machines
@@ -85,7 +91,6 @@ SPDX-License-Identifier: AGPL-3.0 %>
<i class="fa fa-lg fa-key fa-fw"></i> SSH keys
<% end %>
</li>
-
<% if Rails.configuration.user_profile_form_fields %>
<li role="menuitem"><a href="/users/<%=current_user.uuid%>/profile" role="menuitem"><i class="fa fa-lg fa-user fa-fw"></i> Manage profile</a></li>
<% end %>
diff --git a/apps/workbench/config/application.default.yml b/apps/workbench/config/application.default.yml
index eda6d0a..1878450 100644
--- a/apps/workbench/config/application.default.yml
+++ b/apps/workbench/config/application.default.yml
@@ -309,3 +309,8 @@ common:
# Example:
# multi_site_search: https://workbench.qr1hi.arvadosapi.com/collections/multisite
multi_site_search: false
+
+ #
+ # Link to use for Arvados Workflow Composer app, or false if not available.
+ #
+ composer_url: false
\ No newline at end of file
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list