X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/10c628c825ca50e7a054606da85947cbeff2f16f..deef76cfbc581937c2327ba9178a9c84b8b1a97c:/apps/workbench/app/views/users/_tables.html.erb
diff --git a/apps/workbench/app/views/users/_tables.html.erb b/apps/workbench/app/views/users/_tables.html.erb
index c52057cf02..d11e4db0cd 100644
--- a/apps/workbench/app/views/users/_tables.html.erb
+++ b/apps/workbench/app/views/users/_tables.html.erb
@@ -18,8 +18,8 @@
Script |
Output |
Log |
- Status |
Age |
+ Status |
<% @my_jobs[0..6].each do |j| %>
@@ -56,8 +56,8 @@
- <%= raw(distance_of_time_in_words(j[:created_at], Time.now).sub('about
-','~').sub(' ',' ')) if j[:created_at] %> ago
+ <%= raw(distance_of_time_in_words(j.created_at, Time.now).sub('about
+','~').sub(' ',' ')) if j.created_at %>
|
@@ -114,8 +114,8 @@
- <%= raw(distance_of_time_in_words(p[:created_at], Time.now).sub('about
-','~').sub(' ',' ')) if p[:created_at] %> ago
+ <%= raw(distance_of_time_in_words(p.created_at, Time.now).sub('about
+','~').sub(' ',' ')) if p.created_at %>
|
@@ -167,8 +167,8 @@
- <%= raw(distance_of_time_in_words(c[:created_at], Time.now).sub('about
-','~').sub(' ',' ')) if c[:created_at] %> ago
+ <%= raw(distance_of_time_in_words(c.created_at, Time.now).sub('about
+','~').sub(' ',' ')) if c.created_at %>
|