Method: Pageflow::Admin::Timestamp#build
- Defined in:
- app/views/components/pageflow/admin/timestamp.rb
#build(time) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'app/views/components/pageflow/admin/timestamp.rb', line 6 def build(time) if time span class: 'tooltip_clue' do text_node(l(time, format: time.today? ? :time_today : :date)) span(l(time, format: :long), class: 'tooltip_bubble') end end end |