Sha256: 36f1be5d993ace92be1f4387ddf4c036152d2cc015c5bf7b105fd56d15dc093a
Contents?: true
Size: 773 Bytes
Versions: 37
Compression:
Stored size: 773 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # This cell renders the Small (:s) meeting card # for an given instance of a Meeting class MeetingSCell < MeetingMCell delegate :title, to: :presenter def meeting_path resource_locator(model).path end def participatory_space_class_name model.component.participatory_space.class.model_name.human end def participatory_space_title translated_attribute model.component.participatory_space.title end def participatory_space_path resource_locator(model.component.participatory_space).path end def presenter @presenter ||= Decidim::Meetings::MeetingPresenter.new(model) end end end end
Version data entries
37 entries across 37 versions & 1 rubygems