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: f9d0db9ff68db88ec5363e6fb2128c2940487bbe
4
- data.tar.gz: ce9a332bd2dcde8d1a48ed9b3b3872b67a0202a4
3
+ metadata.gz: 1a7c37b3b3466a13f79080979448308a537f8d69
4
+ data.tar.gz: af9333e11a80554b7dba060bc108356eebf5be39
5
5
  SHA512:
6
- metadata.gz: ab4242241dc48f9af57673929a27e1e31ee2a50583de19cfed1128f5b2f8baf4fe4e8638edd2acd1e69b32416e8c0aa1c5af1f7ac47f92fb445926a17633c8db
7
- data.tar.gz: 7d81f544cd7050f662fa60bceaca743e90f9604120d78604ec4f16eb7973b46c9b7ed55c61efa49f164a1d963cc5c536c952b719f95b37e513c8cfc75490195b
6
+ metadata.gz: d53f61659cf48a7f36944d0955e26b4faeca653b7065c2fc4d3e9e91c648fe2817cc8f7160b779b70d3795a7fef88558e9e3d9157f649f58252bf67704147b07
7
+ data.tar.gz: 1dd168ebd8814188e2acf961e5edcbf578ea587956b7e78ef1bfecbda0be3dbd40ccf86085ee8c2e9211e26fbc7f07ec8585b2c3b379f8967150d9b2474ac718
@@ -1,13 +1,13 @@
1
1
  <div class="scope-filters section">
2
- <% if current_organization.scopes.any? && !current_participatory_process.scope %>
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
- <% current_organization.scopes.each do |scope| %>
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 %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-accountability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amaia Castro