Sha256: 7223107a51cf92b2ed7f148038e6b71f7b376817ea73f97374ad977a4b7cefa0
Contents?: true
Size: 636 Bytes
Versions: 17
Compression:
Stored size: 636 Bytes
Contents
require 'woople_theme_i18n' module WoopleTheme module Dashboard class EssentialCompletedPresenter < ContentItemPresenter def render_time_remaining(&block) end def render_popularity(&block) end def render_certification_metadata(&block) end def render_progress_bar(&block) end def render_completed_on(&block) yield(formatted_date) unless completed_on.nil? end def render_essential_duration(&block) yield(time_total) end private def formatted_date WoopleThemeI18n.l(completed_on.to_date) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems