Sha256: 9af75f0edf46c85eb72ca0c688ef141736c7f9501e0661a0fc6fbf0c9c230567
Contents?: true
Size: 945 Bytes
Versions: 58
Compression:
Stored size: 945 Bytes
Contents
<% components = participatory_space.components.published.or(Decidim::Component.where(id: self.try(:current_component))) %> <%= extended_navigation_bar(([ { name: t(".assembly_menu_item"), url: decidim_assemblies.assembly_path(current_participatory_space), active: is_active_link?(decidim_assemblies.assembly_path(current_participatory_space), :exclusive) }, participatory_space.members.not_ceased.any? ? { name: t(".assembly_member_menu_item"), url: decidim_assemblies.assembly_assembly_members_path(current_participatory_space), active: is_active_link?(decidim_assemblies.assembly_assembly_members_path(current_participatory_space), :inclusive) } : nil ] + components.map do |component| { name: translated_attribute(component.name), url: main_component_path(component), active: is_active_link?(main_component_path(component), :inclusive) } end).compact) %>
Version data entries
58 entries across 58 versions & 1 rubygems