projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix time display, also bugfix for job state "Completed" -> "Complete". refs ...
[arvados.git]
/
apps
/
workbench
/
app
/
helpers
/
application_helper.rb
diff --git
a/apps/workbench/app/helpers/application_helper.rb
b/apps/workbench/app/helpers/application_helper.rb
index b82ae89ddf17635e538c462fe75b793f3fa88f0e..624cb3d4c0e0991e656a90baf9b0729df86877ff 100644
(file)
--- a/
apps/workbench/app/helpers/application_helper.rb
+++ b/
apps/workbench/app/helpers/application_helper.rb
@@
-470,6
+470,10
@@
module ApplicationHelper
end
end
end
end
+ def render_localized_date(date, opts="")
+ raw("<span class='utc-date' data-utc-date='#{date}' data-utc-date-opts='noseconds'>#{date}</span>")
+ end
+
private
def is_textile?( object, attr )
is_textile = object.textile_attributes.andand.include?(attr)
private
def is_textile?( object, attr )
is_textile = object.textile_attributes.andand.include?(attr)