decidim-accountability 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a7c37b3b3466a13f79080979448308a537f8d69
|
4
|
+
data.tar.gz: af9333e11a80554b7dba060bc108356eebf5be39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d53f61659cf48a7f36944d0955e26b4faeca653b7065c2fc4d3e9e91c648fe2817cc8f7160b779b70d3795a7fef88558e9e3d9157f649f58252bf67704147b07
|
7
|
+
data.tar.gz: 1dd168ebd8814188e2acf961e5edcbf578ea587956b7e78ef1bfecbda0be3dbd40ccf86085ee8c2e9211e26fbc7f07ec8585b2c3b379f8967150d9b2474ac718
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<div class="scope-filters section">
|
2
|
-
<% if
|
2
|
+
<% if current_participatory_space.has_subscopes? %>
|
3
3
|
<div><%= t('results.filters.scopes', scope: "decidim.accountability") %></div>
|
4
4
|
|
5
5
|
<ul class="tags tags--action">
|
6
6
|
<li <%= active_class_if_current(nil) %>><%= link_to t("results.filters.all", scope: "decidim.accountability"), url_for(filter: { category_id: category.try(:id) }) %></li>
|
7
7
|
<li <%= active_class_if_current("global") %>><%= link_to t("results.filters.global", scope: "decidim.accountability"), url_for(filter: { scope_id: "global", category_id: category.try(:id) }) %></li>
|
8
8
|
|
9
|
-
<%
|
10
|
-
<li <%= active_class_if_current(scope.id) %>><%= link_to scope.name, url_for(filter: { scope_id: scope.id, category_id: category.try(:id) }) %></li>
|
9
|
+
<% current_participatory_space.subscopes.each do |scope| %>
|
10
|
+
<li <%= active_class_if_current(scope.id) %>><%= link_to translated_attribute(scope.name), url_for(filter: { scope_id: scope.id, category_id: category.try(:id) }) %></li>
|
11
11
|
<% end %>
|
12
12
|
</ul>
|
13
13
|
<% end %>
|