Class: Decidim::Proposals::HighlightedProposalsCell

Inherits:
ViewModel
  • Object
show all
Includes:
ProposalCellsHelper
Defined in:
app/cells/decidim/proposals/highlighted_proposals_cell.rb

Overview

This cell renders the highlighted proposals for a given participatory space. It is intended to be used in the ‘participatory_space_highlighted_elements` view hook.

Method Summary

Methods included from ProposalCellsHelper

#badge_name, #component_settings, #current_component, #current_settings, #from_context, #has_actions?, #has_footer?, #index_action?, #proposals_controller?, #state_classes

Methods included from ApplicationHelper

#authors_for, #collaborative_draft_state_badge_css_class, #endorsers_for, #filter_origin_values, #filter_state_values, #filter_type_values, #follow_button_for, #form_has_address?, #humanize_collaborative_draft_state, #humanize_proposal_state, #minimum_votes_per_user_enabled?, #proposal_limit, #proposal_limit_enabled?, #proposal_state_css_class, #show_voting_rules?, #vote_button_for, #votes_count_for, #votes_given

Methods included from ControlVersionHelper

#back_to_resource_path, #back_to_resource_path_text, #proposal?, #resource_all_versions_path, #resource_version_path, #versions_controller?

Methods included from CollaborativeDraftHelper

#accept_request_button_label, #collaborative_drafts_states_collection, #reject_request_button_label

Methods included from MapHelper

#proposals_data_for_map

Methods included from ProposalEndorsementsHelper

#current_user_can_endorse?, #endorsement_button, #endorsement_button_classes, #endorsement_identity_presenter, #endorsements_blocked?, #endorsements_enabled?, #fully_endorsed?, #render_endorsement_identity, #render_endorsements_button_card_part, #render_endorsements_count_card_part, #show_endorsements_card?

Methods included from ProposalVotesHelper

#can_accumulate_supports_beyond_threshold?, #current_user_can_vote?, #remaining_votes_count_for, #threshold_per_proposal, #threshold_per_proposal_enabled?, #vote_button_classes, #vote_limit, #vote_limit_enabled?, #votes_blocked?, #votes_count_classes, #votes_enabled?