[ARVADOS] updated: 153642799375c2983363b48a40b05abb173750e6
git at public.curoverse.com
git at public.curoverse.com
Mon Jun 2 11:36:57 EDT 2014
Summary of changes:
apps/workbench/app/models/job.rb | 4 ++++
.../app/views/jobs/_show_object_description_cell.html.erb | 15 +++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 apps/workbench/app/views/jobs/_show_object_description_cell.html.erb
via 153642799375c2983363b48a40b05abb173750e6 (commit)
from 421b1d641caa1dc3e1a3453b2f51e0b15ae268c2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 153642799375c2983363b48a40b05abb173750e6
Author: Tom Clegg <tom at curoverse.com>
Date: Mon Jun 2 11:36:45 2014 -0400
2872: Add job summary partial.
diff --git a/apps/workbench/app/models/job.rb b/apps/workbench/app/models/job.rb
index 9863697..c853302 100644
--- a/apps/workbench/app/models/job.rb
+++ b/apps/workbench/app/models/job.rb
@@ -3,6 +3,10 @@ class Job < ArvadosBase
true
end
+ def content_summary
+ "#{script} job"
+ end
+
def attribute_editable? attr, *args
false
end
diff --git a/apps/workbench/app/views/jobs/_show_object_description_cell.html.erb b/apps/workbench/app/views/jobs/_show_object_description_cell.html.erb
new file mode 100644
index 0000000..6788fc1
--- /dev/null
+++ b/apps/workbench/app/views/jobs/_show_object_description_cell.html.erb
@@ -0,0 +1,15 @@
+<div class="nowrap">
+ <div class="row">
+ <div class="col-sm-2 inline-progress-container">
+ <%= render partial: 'job_progress', locals: {j: object} %>
+ </div>
+ <div class="col-sm-10">
+ <%= object.script %>
+ <span class="deemphasize">
+ job
+ using <%= object.script_version %> commit
+ from <%= object.repository %> repository
+ </span>
+ </div>
+ </div>
+</div>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list