<%= sort_link(query, :id, t("models.plan.fields.id", scope: "decidim.plans"), default_order: :desc ) %> | <%= sort_link(query, :title, t("models.plan.fields.title", scope: "decidim.plans") ) %> | <%= sort_link(query, :category_name, t("models.plan.fields.category", scope: "decidim.plans") ) %> | <% if current_participatory_space.scopes_enabled? %><%= sort_link(query, :scope_name, t("models.plan.fields.scope", scope: "decidim.plans") ) %> | <% end %><%= t("models.plan.fields.tags", scope: "decidim.plans")%> | <%= sort_link(query, :state, t("models.plan.fields.state", scope: "decidim.plans") ) %> | <% if current_component.settings.comments_enabled? and !current_settings.comments_blocked? %><%= sort_link(query, :commentable_comments_count, t("models.plan.fields.comments", scope: "decidim.plans") ) %> | <% end %> <% if allowed_to? :create, :plan_note %><%= sort_link(query, :plan_notes_count, t("models.plan.fields.notes", scope: "decidim.plans") ) %> | <% end %><%= sort_link(query, :published_at, t("models.plan.fields.published_at", scope: "decidim.plans") ) %> | <%= t("actions.title", scope: "decidim.plans") %> |
---|