Class: Decidim::Conferences::ConferenceSpeakerCell

Inherits:
AuthorCell show all
Includes:
Cell::ViewModel::Partial, Meetings::MeetingCellsHelper
Defined in:
decidim-conferences/app/cells/decidim/conferences/conference_speaker_cell.rb

Overview

This cell renders the card for an instance of an Conference Speaker

Instance Method Summary collapse

Methods included from Meetings::MeetingCellsHelper

#description

Methods included from SanitizeHelper

#decidim_html_escape, #decidim_sanitize, #decidim_sanitize_newsletter, #decidim_url_escape, included

Methods included from Meetings::MeetingsHelper

#author_presenter_for, #calculate_start_and_end_time_of_agenda_items, #current_user_groups?, #display_duration_agenda_items, #google_calendar_event_url, #meeting_description, #meeting_type_badge_css_class, #registration_code_help_text, #validation_state_for

Methods included from ResourceHelper

#linked_classes_filter_values_for, #linked_classes_for, #linked_resources_for, #resource_locator, #resource_title

Methods included from TranslationsHelper

empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?

Methods included from TranslatableAttributes

#default_locale?

Methods included from ApplicationHelper

#cell, #edit_link, #extra_admin_link, #html_truncate, #present, #resolve_presenter_class, #step_cta_url

Methods included from Decidim::CacheHelper

#cache

Methods included from AmendmentsHelper

#accept_and_reject_buttons_for, #action_button_card_for, #allowed_to_accept_and_reject?, #allowed_to_promote?, #amend_button_for, #amenders_list_for, #amendments_enabled?, #amendments_for, #amendments_form_field_for, #amendments_form_fields_label, #amendments_form_fields_value, #can_participate_in_private_space?, #can_react_to_emendation?, #emendation_actions_for, #emendation_announcement_for, #promote_button_for, #render_emendation_body

Methods included from RichTextEditorHelper

included, #text_editor_for

Methods included from Decidim::ContextualHelpHelper

#floating_help

Methods included from ScopesHelper

#has_visible_scopes?, #scope_name_for_picker, #scopes_picker_field, #scopes_picker_filter, #scopes_picker_tag

Methods included from DecidimFormHelper

#areas_for_select, #base_error_messages, #decidim_form_for, #decidim_form_slug_url, #editor_field_tag, #form_field_has_error?, #form_required_explanation, #name_with_locale, #scopes_picker_field_tag, #tab_element_class_for, #translated_field_tag

Methods included from OmniauthHelper

#normalize_provider_name, #oauth_icon, #provider_name

Methods included from LayoutHelper

#_icon_classes, #extended_navigation_bar, #external_icon, #favicon, #icon, #organization_colors, #role

Methods inherited from AuthorCell

#author_name, #date, #flag, #flag_user, #flag_user_modal, #profile, #profile_inline, #withdraw

Methods included from Messaging::ConversationHelper

#conversation_between, #conversation_between_multiple, #current_or_new_conversation_path_with, #current_or_new_conversation_path_with_multiple, #link_to_current_or_new_conversation_with, #text_link_to_current_or_new_conversation_with, #username_list

Methods included from Decidim::CellsHelper

#current_component, #flaggable?, #from_context, #index_action?, #show_action?, #user_flaggable?, #withdrawable?

Methods inherited from ViewModel

#call, #current_user

Methods included from FilterParamsHelper

#filter_link_params

Methods included from MarkupHelper

#element_id

Methods included from ReplaceButtonsHelper

#button_to, #submit_tag

Methods included from ActionAuthorizationHelper

#action_authorized_button_to, #action_authorized_link_to, #logged_button_to, #logged_link_to

Instance Method Details

#showObject


14
15
16
# File 'decidim-conferences/app/cells/decidim/conferences/conference_speaker_cell.rb', line 14

def show
  render
end

#speakers_listObject


18
19
20
21
22
23
24
25
26
# File 'decidim-conferences/app/cells/decidim/conferences/conference_speaker_cell.rb', line 18

def speakers_list
  cell(
    "decidim/collapsible_list",
    presenters_for_speakers(list),
    cell_name: "decidim/author",
    cell_options: options.merge(has_actions: false),
    size: size
  )
end