Class: Decidim::Meetings::HighlightedMeetingsForComponentCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::Meetings::HighlightedMeetingsForComponentCell
- Includes:
- CardHelper, ComponentPathHelper
- Defined in:
- decidim-meetings/app/cells/decidim/meetings/highlighted_meetings_for_component_cell.rb
Overview
This cell renders the highlighted meetings for a given component. It is intended to be used in the ‘participatory_space_highlighted_elements` view hook.
Instance Method Summary collapse
Methods included from CardHelper
Methods included from ComponentPathHelper
#can_be_managed?, #main_component_path, #main_component_url, #manage_component_path
Instance Method Details
#show ⇒ Object
14 15 16 |
# File 'decidim-meetings/app/cells/decidim/meetings/highlighted_meetings_for_component_cell.rb', line 14 def show render unless meetings_count.zero? end |