Sha256: a68de61cca787e159f4efc60cafc6501781160deb4a8d250fa2959e2165c8503
Contents?: true
Size: 821 Bytes
Versions: 14
Compression:
Stored size: 821 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences # This cell renders the Medium (:m) conference card # for an given instance of an Conference class ConferenceMCell < Decidim::CardMCell include Decidim::ViewHooksHelper # Needed for the view hooks def current_participatory_space model end private def title decidim_html_escape(super) end def has_image? true end def resource_path Decidim::Conferences::Engine.routes.url_helpers.conference_path(model) end def resource_image_path model.hero_image.url end def statuses [:creation_date, :follow] end def resource_icon icon "conferences", class: "icon--big" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems