<% if current_participatory_space.components.any? || current_participatory_space.speakers.any? || current_participatory_space.partners.any? || current_participatory_space.attachments.any? || current_participatory_space.media_links.any? %>
  • "> <%= active_link_to decidim_conferences.conference_path(current_participatory_space), active: :exclusive, class: "process-nav__link", class_active: "is-active" do %> <%= external_icon "decidim/conferences/conference.svg" %> <%= t ".conference_menu_item" %> <% end %>
  • <% if current_participatory_space.speakers.any? %>
  • "> <%= active_link_to decidim_conferences.conference_conference_speakers_path(current_participatory_space), active: :inclusive, class: "process-nav__link", class_active: "is-active" do %> <%= icon("members") %> <%= t ".conference_speaker_menu_item" %> <% end %>
  • <% end %> <% current_participatory_space.components.where(manifest_name: "meetings").each do |component_meeting| %> <% if component_meeting.published? || component_meeting == self.try(:current_component) %> <% active = is_active_link?(decidim_conferences.conference_conference_program_path(current_participatory_space, id: component_meeting.id), :inclusive) || is_active_link?(main_component_path(component_meeting), :inclusive) %>
  • "> <%= link_to decidim_conferences.conference_conference_program_path(current_participatory_space, id: component_meeting.id), class: "process-nav__link #{"is-active" if active}" do %> <%= component_icon(component_meeting) %> <%= translated_attribute(component_meeting.name) %> <% end %>
  • <% end %> <% end %> <% if current_participatory_space.partners.any? %>
  • <%= link_to decidim_conferences.conference_path(current_participatory_space, anchor: "conference-partners"), class: "process-nav__link", active: :inclusive, class_active: "is-active" do %> <%= icon("speakers") %> <%= t ".conference_partners_menu_item" %> <% end %>
  • <% end %> <% if current_participatory_space.components.where(manifest_name: "meetings").published.any? %>
  • <%= active_link_to decidim_conferences.conference_path(current_participatory_space, anchor: "venues"), active: :exclusive, class: "process-nav__link" do %> <%= external_icon "decidim/conferences/conference.svg" %> <%= t ".venues" %> <% end %>
  • <% end %> <% current_participatory_space.components.each do |component| %> <% next if component.manifest_name == "meetings" %> <% if component.published? || component == self.try(:current_component) %>
  • "> <%= active_link_to main_component_path(component), active: :inclusive, class: "process-nav__link", class_active: "is-active" do %> <%= component_icon(component) %> <%= translated_attribute(component.name) %> <% end %>
  • <% end %> <% end %>
  • "> <%= active_link_to decidim_conferences.conference_media_path(current_participatory_space), active: :inclusive, class: "process-nav__link", class_active: "is-active" do %> <%= external_icon "decidim/conferences/conference.svg" %> <%= t ".media" %> <% end %>
<% end %>