Sha256: 0324489d5e5cdfcd959dfd61d6dbd9db3c31fc4d4597ff8e029c2e23ebc3e7cd
Contents?: true
Size: 650 Bytes
Versions: 3
Compression:
Stored size: 650 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # This cell renders the List Item Card (:list_item) meeting card # for an instance of a Meeting # # This cell must be wrapped in a "<div class="card card--list"></div>" class MeetingListItemCell < Decidim::Meetings::MeetingCell def show render end private def resource_date_time str = l model.start_time, format: :decidim_day_of_year str += " - " str += l model.start_time, format: :time_of_day str += "-" str += l model.end_time, format: :time_of_day str end end end end
Version data entries
3 entries across 3 versions & 1 rubygems