Sha256: 059b1ec5ee34e141e31d56f86043fc3b6b6ed50df427c7baf6e30e0e09d46a0d

Contents?: true

Size: 379 Bytes

Versions: 11

Compression:

Stored size: 379 Bytes

Contents

<%# @param object [model] model instance %>
<%# @param field_name [String] name of the field %>
<%# @param value [Object] value of the field %>
<%# @param metadata [Hash] metadata of the field %>
<%= if value.nil?
  null
else
  value = Time.zone.parse value if value.is_a? String
  concat content_tag(:span, I18n.l(value, format: :short))
  itooltip I18n.l(value), 'time'
end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-7.0.0 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-7.0.0.beta2 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-7.0.0.beta1 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-6.1.6 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-6.1.5 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-6.1.4 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-6.1.3 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-6.1.2 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-6.1.1 app/views/wallaby/resources/index/_datetime.html.erb
wallaby-6.1.0 app/views/wallaby/resources/index/_datetime.html.erb