Sha256: 556546c78c7814ba0aa09810ec55bf2c78acb38a389e373aae75647dcf7251a5
Contents?: true
Size: 563 Bytes
Versions: 6
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # This cell renders the online meeting link section # of a online or both type of meeting. class OnlineMeetingLinkCell < Decidim::Meetings::OnlineMeetingCell include Decidim::LayoutHelper def show render end def online_meeting_url? model.online_meeting_url.present? end delegate :embed_code, to: :embedder private def show_embed? model.show_embedded_iframe? && embedder.embeddable? end end end end
Version data entries
6 entries across 6 versions & 1 rubygems