Skip to content

Commit

Permalink
Replace participatory_processes view override with deface
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Sep 26, 2023
1 parent 418c5f5 commit 35dd269
Showing 1 changed file with 5 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
<%# Overridden view from decidim, for displaying process groups specially, issue #246 %>
<% add_decidim_meta_tags(title: t("participatory_processes.index.title", scope: "decidim")) %>

<%
edit_link(
decidim_admin_participatory_processes.participatory_processes_path,
:read,
:process_list
)
%>

<%= participatory_space_wrapper do %>
<% if promoted_collection.any? %>
<section id="highlighted-processes" class="row section">
<h1 class="section-heading"><%= t("participatory_processes.index.promoted_processes", scope: "layouts.decidim") %></h1>
<% promoted_collection.each do |promoted_item| %>
<%= render_highlighted_partial_for promoted_item %>
<% end %>
</section>
<% end %>

<!-- replace "#processes-grid"
original '5a3fe3b15410bed17da324a66bfaf71d4d0ca7f3'
-->
<%# Overridden view from decidim, for displaying process groups specially, issue #246 %>
<div class="processes-grid-order-by">
<%= render partial: "order_by_processes" %>
</div>
Expand Down Expand Up @@ -50,7 +33,4 @@ edit_link(
<div class="row small-up-1 medium-up-2 large-up-3 card-grid">
<%= render(collection) %>
</div>
</section>
<% end %>

<%= javascript_pack_tag "decidim_participatory_processes" %>
</section>

0 comments on commit 35dd269

Please sign in to comment.