class Decidim::Meetings::MeetingUrlCell

This cell renders the URL address of an online meeting.

def has_meeting_url?

def has_meeting_url?
  @has_meeting_url ||= model.online_meeting_url.present?
end

def icon_name

def icon_name
  if has_meeting_url?
    "video"
  else
    "timer"
  end
end

def resource_icon

def resource_icon
  icon icon_name, class: "icon--big", role: "img", "aria-hidden": true
end