decidim-elections 0.28.0 → 0.28.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/elections/highlighted_elections_for_component/show.erb +1 -1
  3. data/app/cells/decidim/votings/content_blocks/hero_cell.rb +0 -12
  4. data/app/controllers/concerns/decidim/votings/admin/voting_admin.rb +3 -2
  5. data/app/controllers/decidim/votings/admin/monitoring_committee_members_controller.rb +15 -0
  6. data/app/controllers/decidim/votings/admin/votings_landing_page_controller.rb +3 -0
  7. data/app/helpers/decidim/votings/votings_helper.rb +1 -1
  8. data/app/views/decidim/elections/admin/answers/edit.html.erb +2 -2
  9. data/app/views/decidim/elections/admin/answers/index.html.erb +2 -2
  10. data/app/views/decidim/elections/admin/answers/new.html.erb +2 -2
  11. data/app/views/decidim/elections/admin/elections/edit.html.erb +2 -2
  12. data/app/views/decidim/elections/admin/elections/index.html.erb +2 -2
  13. data/app/views/decidim/elections/admin/elections/new.html.erb +2 -2
  14. data/app/views/decidim/elections/admin/proposals_imports/new.html.erb +2 -2
  15. data/app/views/decidim/elections/admin/questions/edit.html.erb +2 -2
  16. data/app/views/decidim/elections/admin/questions/index.html.erb +2 -2
  17. data/app/views/decidim/elections/admin/questions/new.html.erb +2 -2
  18. data/app/views/decidim/elections/admin/steps/_created.html.erb +1 -1
  19. data/app/views/decidim/elections/admin/steps/_key_ceremony.html.erb +1 -1
  20. data/app/views/decidim/elections/admin/steps/_key_ceremony_ended.html.erb +1 -1
  21. data/app/views/decidim/elections/admin/steps/_results_published.html.erb +2 -2
  22. data/app/views/decidim/elections/admin/steps/_tally_ended.html.erb +2 -2
  23. data/app/views/decidim/elections/admin/steps/_tally_started.html.erb +1 -1
  24. data/app/views/decidim/elections/admin/steps/_vote.html.erb +1 -1
  25. data/app/views/decidim/elections/admin/steps/_vote_ended.html.erb +1 -1
  26. data/app/views/decidim/elections/admin/steps/_vote_stats.html.erb +2 -2
  27. data/app/views/decidim/elections/admin/steps/index.html.erb +2 -2
  28. data/app/views/decidim/elections/admin/trustees_participatory_spaces/index.html.erb +2 -2
  29. data/app/views/decidim/elections/admin/trustees_participatory_spaces/new.html.erb +2 -2
  30. data/app/views/decidim/votings/admin/ballot_styles/edit.html.erb +2 -2
  31. data/app/views/decidim/votings/admin/ballot_styles/index.html.erb +2 -2
  32. data/app/views/decidim/votings/admin/ballot_styles/new.html.erb +2 -2
  33. data/app/views/decidim/votings/admin/monitoring_committee_election_results/_results.html.erb +2 -2
  34. data/app/views/decidim/votings/admin/monitoring_committee_election_results/index.html.erb +2 -2
  35. data/app/views/decidim/votings/admin/monitoring_committee_members/index.html.erb +2 -2
  36. data/app/views/decidim/votings/admin/monitoring_committee_members/new.html.erb +2 -2
  37. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/_closures.html.erb +2 -2
  38. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/_elections.html.erb +2 -2
  39. data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/edit.html.erb +2 -2
  40. data/app/views/decidim/votings/admin/monitoring_committee_verify_elections/index.html.erb +2 -2
  41. data/app/views/decidim/votings/admin/polling_officers/index.html.erb +2 -2
  42. data/app/views/decidim/votings/admin/polling_officers/new.html.erb +2 -2
  43. data/app/views/decidim/votings/admin/polling_stations/edit.html.erb +2 -2
  44. data/app/views/decidim/votings/admin/polling_stations/index.html.erb +2 -2
  45. data/app/views/decidim/votings/admin/polling_stations/new.html.erb +2 -2
  46. data/app/views/decidim/votings/admin/votings/edit.html.erb +2 -2
  47. data/app/views/decidim/votings/admin/votings/new.html.erb +2 -2
  48. data/app/views/decidim/votings/census/admin/census/show.html.erb +2 -2
  49. data/config/locales/bg.yml +35 -0
  50. data/config/locales/ca.yml +5 -5
  51. data/config/locales/cs.yml +2 -0
  52. data/config/locales/de.yml +1 -1
  53. data/config/locales/es-MX.yml +1 -1
  54. data/config/locales/es.yml +5 -5
  55. data/config/locales/eu.yml +3 -0
  56. data/config/locales/fi-plain.yml +3 -0
  57. data/config/locales/fi.yml +3 -0
  58. data/config/locales/gl.yml +2 -0
  59. data/config/locales/he-IL.yml +1 -0
  60. data/config/locales/hu.yml +14 -0
  61. data/config/locales/it.yml +2 -0
  62. data/config/locales/ja.yml +4 -1
  63. data/config/locales/nl.yml +2 -0
  64. data/config/locales/pl.yml +2 -0
  65. data/config/locales/pt-BR.yml +178 -0
  66. data/config/locales/pt.yml +2 -0
  67. data/config/locales/ru.yml +5 -0
  68. data/config/locales/sk.yml +5 -0
  69. data/config/locales/sv.yml +3 -0
  70. data/config/locales/uk.yml +5 -0
  71. data/db/migrate/20210310120708_add_followable_counter_cache_to_votings.rb +6 -2
  72. data/decidim-elections.gemspec +44 -0
  73. data/lib/decidim/elections/version.rb +1 -1
  74. data/lib/decidim/votings/admin_engine.rb +0 -12
  75. data/lib/decidim/votings/content_blocks/registry_manager.rb +8 -1
  76. data/lib/decidim/votings/menu.rb +2 -5
  77. metadata +20 -19
  78. data/config/environment.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96a900f31e6e2a9f1a0e8214b749fd32bbc9f964d5ecf73959400fec01e25d80
4
- data.tar.gz: 83cd9b6b9e7c2335d163a3f58aa6d3bf0cf8c4aa8da86dedd05083192c96a699
3
+ metadata.gz: 14abed66a6404a8b45709150cb399c942d45aa91e67c2142a562cbe62f77e4ff
4
+ data.tar.gz: 06b0ad232cfdbfaafe6753c97735bd1f1584c5b0dc7a289dddc88849b575c6bb
5
5
  SHA512:
6
- metadata.gz: 380e66c651af95d2e1c0e589aceb6e223ee44992034395c7cdc3344cd4618aa5fee9c9f23e47171154c40433adabfcbd5fc962d98d277b7420922e88fca82c84
7
- data.tar.gz: d991be5386a0712ca6647b397a5541b4ca722300425e076fb9e1fb2e59c3ad7cf194e7ae05c09787e08effd8a042945a1c1a2c9463752bf2c6dd19187600d4f5
6
+ metadata.gz: 361878a51aa94cce6d7548ab5079c47d72e9efb7a02f2ce5033788d69523418768627c8104630ef3583ba1bb0fdad89c2688b284cbdf541046f28d6d8258c1d5
7
+ data.tar.gz: 26cceea1a3ce9f80ebbb5912b901a7139ec34f55797cf5d826a18332b2d3c456d176b79fbf152084a5e65e9e2b01d74ef51d8b39ab46ddd8c0dd12388413eeae
@@ -1,6 +1,6 @@
1
1
  <div class="content-block__title">
2
2
  <h2 class="h2 decorator">
3
- <%= single_component? ? translated_attribute(model.name) : t("decidim.components.elections.name") %>
3
+ <%= single_component? ? decidim_escape_translated(model.name) : t("decidim.components.elections.name") %>
4
4
  </h2>
5
5
  <div class="label text-lg"><%= elections_count %></div>
6
6
  <% if see_all_path.present? %>
@@ -14,18 +14,6 @@ module Decidim
14
14
  "#{start_text} — #{end_text}"
15
15
  end
16
16
 
17
- def cta_text
18
- return unless model
19
-
20
- @cta_text ||= translated_attribute(model.settings.button_text).presence
21
- end
22
-
23
- def cta_path
24
- return unless model
25
-
26
- @cta_path ||= translated_attribute(model.settings.button_url).presence
27
- end
28
-
29
17
  private
30
18
 
31
19
  def start_text
@@ -18,9 +18,10 @@ module Decidim
18
18
 
19
19
  included do
20
20
  include Decidim::Admin::ParticipatorySpaceAdminContext
21
- participatory_space_admin_layout
22
-
23
21
  helper_method :current_voting
22
+ add_breadcrumb_item_from_menu :admin_voting_menu
23
+
24
+ participatory_space_admin_layout
24
25
 
25
26
  def current_voting
26
27
  @current_voting ||= organization_votings.find_by!(
@@ -7,6 +7,8 @@ module Decidim
7
7
  class MonitoringCommitteeMembersController < Admin::ApplicationController
8
8
  include VotingAdmin
9
9
 
10
+ before_action :set_monitoring_commiteee_breadcrumb_item
11
+
10
12
  helper_method :current_voting, :monitoring_committee_members, :monitoring_committee_member
11
13
 
12
14
  def index
@@ -53,6 +55,19 @@ module Decidim
53
55
 
54
56
  private
55
57
 
58
+ def set_monitoring_commiteee_breadcrumb_item
59
+ controller_breadcrumb_items << {
60
+ label: I18n.t("monitoring_committee", scope: "decidim.votings.admin.menu.votings_submenu"),
61
+ active: false
62
+ }
63
+
64
+ controller_breadcrumb_items << {
65
+ label: I18n.t("monitoring_committee_members", scope: "decidim.votings.admin.menu.votings_submenu"),
66
+ url: decidim_admin_votings.voting_monitoring_committee_members_path(current_participatory_space),
67
+ active: true
68
+ }
69
+ end
70
+
56
71
  def monitoring_committee_members
57
72
  @monitoring_committee_members ||= current_voting.monitoring_committee_members
58
73
  end
@@ -6,11 +6,14 @@ module Decidim
6
6
  # Controller that allows to (de)activate the content blocks from a voting landing page
7
7
  class VotingsLandingPageController < Decidim::Votings::Admin::ApplicationController
8
8
  include Decidim::Admin::ContentBlocks::LandingPage
9
+ include Decidim::Admin::ParticipatorySpaceAdminBreadcrumb
9
10
 
10
11
  layout "decidim/admin/voting"
11
12
 
12
13
  helper_method :current_participatory_space
13
14
 
15
+ add_breadcrumb_item_from_menu :admin_voting_menu
16
+
14
17
  def content_block_scope
15
18
  :voting_landing_page
16
19
  end
@@ -34,7 +34,7 @@ module Decidim
34
34
  end
35
35
  ] + components.map do |component|
36
36
  {
37
- name: translated_attribute(component.name),
37
+ name: decidim_escape_translated(component.name),
38
38
  url: main_component_path(component),
39
39
  active: is_active_link?(main_component_path(component), :inclusive) && !is_active_link?("election_log", /election_log$/)
40
40
  }
@@ -1,12 +1,12 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <div>
5
5
  <%= link_to translated_attribute(election.title), elections_path %> &gt;
6
6
  <%= link_to translated_attribute(question.title), election_questions_path(election) %> &gt;
7
7
  <%= t(".title") %>
8
8
  </div>
9
- </h2>
9
+ </h1>
10
10
  </div>
11
11
 
12
12
  <div class="item__edit item__edit-1col">
@@ -1,7 +1,7 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <div>
6
6
  <%= link_to translated_attribute(election.title), elections_path %> &gt;
7
7
  <%= link_to translated_attribute(question.title), election_questions_path(election) %> &gt;
@@ -18,7 +18,7 @@
18
18
  <% end %>
19
19
  <%= link_to t("actions.new_answer", scope: "decidim.elections"), new_election_question_answer_path(election, question), class: "button button__sm button__secondary" if allowed_to? :create, :answer, election: election, question: question %>
20
20
  </div>
21
- </h2>
21
+ </h1>
22
22
  </div>
23
23
 
24
24
  <div class="card-section">
@@ -1,12 +1,12 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <div>
5
5
  <%= link_to translated_attribute(election.title), elections_path %> &gt;
6
6
  <%= link_to translated_attribute(question.title), election_questions_path(election) %> &gt;
7
7
  <%= t(".title") %>
8
8
  </div>
9
- </h2>
9
+ </h1>
10
10
  </div>
11
11
 
12
12
  <div class="item__edit item__edit-1col">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,12 +1,12 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
 
7
7
  <%= link_to t("actions.new_election", scope: "decidim.elections"), new_election_path, class: "button button__sm button__secondary" if allowed_to? :create, :election %>
8
8
  <%= render partial: "decidim/admin/components/resource_action" %>
9
- </h2>
9
+ </h1>
10
10
  </div>
11
11
  <div class="table-scroll">
12
12
  <table class="table-list">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,12 +1,12 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <div>
5
5
  <%= link_to translated_attribute(election.title), elections_path %> &gt;
6
6
  <%= link_to translated_attribute(question.title), election_questions_path(election) %> &gt;
7
7
  <%= t(".title") %>
8
8
  </div>
9
- </h2>
9
+ </h1>
10
10
  </div>
11
11
 
12
12
  <div class="item__edit item__edit-1col">
@@ -1,11 +1,11 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <div>
5
5
  <%= link_to translated_attribute(election.title), elections_path %> &gt;
6
6
  <%= t(".title") %>
7
7
  </div>
8
- </h2>
8
+ </h1>
9
9
  </div>
10
10
  <div class="item__edit item__edit-1col">
11
11
  <div class="item__edit-form">
@@ -1,11 +1,11 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
 
7
7
  <%= link_to t("actions.new_question", scope: "decidim.elections"), new_election_question_path(election), class: "button button__sm button__secondary" if allowed_to? :create, :question, election: election %>
8
- </h2>
8
+ </h1>
9
9
  </div>
10
10
  <div class="table-scroll">
11
11
  <table class="table-list">
@@ -1,11 +1,11 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <div>
5
5
  <%= link_to translated_attribute(election.title), elections_path %> &gt;
6
6
  <%= t(".title") %>
7
7
  </div>
8
- </h2>
8
+ </h1>
9
9
  </div>
10
10
 
11
11
  <div class="item__edit item__edit-1col">
@@ -1,6 +1,6 @@
1
1
  <div class="card">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title"><%= t(".title") %></h2>
3
+ <h1 class="item_show__header-title"><%= t(".title") %></h1>
4
4
  </div>
5
5
 
6
6
  <div class="card-section">
@@ -1,6 +1,6 @@
1
1
  <div class="card">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title"><%= t(".title") %></h2>
3
+ <h1 class="item_show__header-title"><%= t(".title") %></h1>
4
4
  </div>
5
5
 
6
6
  <div id="trustees_process" class="card-section"
@@ -1,6 +1,6 @@
1
1
  <div class="card">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title"><%= t(".title") %></h2>
3
+ <h1 class="item_show__header-title"><%= t(".title") %></h1>
4
4
  </div>
5
5
 
6
6
  <div class="card-section">
@@ -1,8 +1,8 @@
1
1
  <div class="card">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="table-scroll">
8
8
  <ul class="accordion mb-m evote__preview"
@@ -1,8 +1,8 @@
1
1
  <div class="card">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="table-scroll">
8
8
  <ul class="accordion mb-m evote__preview"
@@ -1,6 +1,6 @@
1
1
  <div class="card">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title"><%= t(".title") %></h2>
3
+ <h1 class="item_show__header-title"><%= t(".title") %></h1>
4
4
  </div>
5
5
 
6
6
  <div id="trustees_process" class="card-section"
@@ -4,7 +4,7 @@
4
4
 
5
5
  <div class="card">
6
6
  <div class="item_show__header">
7
- <h2 class="item_show__header-title"><%= t(".title") %></h2>
7
+ <h1 class="item_show__header-title"><%= t(".title") %></h1>
8
8
  </div>
9
9
 
10
10
  <div class="card-section">
@@ -1,6 +1,6 @@
1
1
  <div class="card">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title"><%= t(".title") %></h2>
3
+ <h1 class="item_show__header-title"><%= t(".title") %></h1>
4
4
  </div>
5
5
 
6
6
  <div class="card-section">
@@ -1,8 +1,8 @@
1
1
  <div class="card" data-vote-status="<%= election.bb_status %>">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="table-scroll">
8
8
  <% if vote_stats.values.sum == 0 %>
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t("title", scope: "decidim.elections.trustee_zone.elections.key_ceremony_steps", election: translated_attribute(election.title))) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t("title", scope: "decidim.elections.trustee_zone.elections.key_ceremony_steps", election: translated_attribute(election.title)) %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
 
8
8
  <div class="item__edit item__edit-1col">
@@ -1,10 +1,10 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card" id="trustees">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <%= link_to t("actions.new_trustee", scope: "decidim.elections"), new_trustee_path, class: "button button__sm button__secondary new ml-auto" %>
7
- </h2>
7
+ </h1>
8
8
  </div>
9
9
  <div class="table-scroll">
10
10
  <table class="table-list">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
 
8
8
  <div class="item__edit item__edit-1col">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -3,10 +3,10 @@
3
3
  <%= cell("decidim/announcement", t("explanation_callout", scope: "decidim.votings.admin.ballot_styles.index"), callout_class: "warning" ) %>
4
4
  <div class="card" id="ballot_styles">
5
5
  <div class="item_show__header">
6
- <h2 class="item_show__header-title">
6
+ <h1 class="item_show__header-title">
7
7
  <%= t(".title") %>
8
8
  <%= link_to t("actions.new", scope: "decidim.votings.admin.ballot_styles.index"), new_voting_ballot_style_path(current_voting), class: "button button__sm button__secondary" if allowed_to? :create, :ballot_style, voting: current_voting %>
9
- </h2>
9
+ </h1>
10
10
  </div>
11
11
  <div class="table-scroll">
12
12
  <table class="table-list">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,9 +1,9 @@
1
1
 
2
2
  <div class="card" id="monitoring_committee_polling_station_closures">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title", election_title: translated_attribute(election.title)).html_safe %>
6
- </h2>
6
+ </h1>
7
7
  </div>
8
8
  <div class="table-scroll">
9
9
  <table class="table-list">
@@ -1,9 +1,9 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card" id="monitoring_committee_election_results">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
- </h2>
6
+ </h1>
7
7
  </div>
8
8
  <div class="table-scroll">
9
9
  <table class="table-list">
@@ -1,10 +1,10 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card" id="monitoring_committee_members">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <%= link_to t("actions.new", scope: "decidim.votings.monitoring_committee_members"), new_voting_monitoring_committee_member_path(current_voting), class: "button button__sm button__secondary" if allowed_to? :create, :monitoring_committee_member, voting: current_voting %>
7
- </h2>
7
+ </h1>
8
8
  </div>
9
9
  <div class="table-scroll">
10
10
  <table class="table-list">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -6,9 +6,9 @@
6
6
 
7
7
  <div class="card" id="monitoring_committee_polling_station_closures">
8
8
  <div class="item_show__header">
9
- <h2 class="item_show__header-title">
9
+ <h1 class="item_show__header-title">
10
10
  <%= t(".title", election_title: translated_attribute(election.title)).html_safe %>
11
- </h2>
11
+ </h1>
12
12
  </div>
13
13
 
14
14
  <%= admin_filter_selector %>
@@ -1,8 +1,8 @@
1
1
  <div class="card" id="monitoring_committee_polling_station_closures">
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="table-scroll">
8
8
  <table class="table-list">
@@ -5,9 +5,9 @@
5
5
 
6
6
  <div class="card" id="monitoring_committee_polling_station_closures">
7
7
  <div class="item_show__header">
8
- <h2 class="item_show__header-title">
8
+ <h1 class="item_show__header-title">
9
9
  <%= t(".title", polling_station_title: translated_attribute(closure.polling_station.title), election_title: translated_attribute(closure.election.title)).html_safe %>
10
- </h2>
10
+ </h1>
11
11
  </div>
12
12
 
13
13
  <%= render partial: "closure_certificate_results" %>
@@ -1,9 +1,9 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card" id="monitoring_committee_verify_elections">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
- </h2>
6
+ </h1>
7
7
  </div>
8
8
  <div class="table-scroll">
9
9
  <table class="table-list">
@@ -1,10 +1,10 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card" id="polling_officers">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <%= link_to t("actions.new", scope: "decidim.votings.polling_officers"), new_voting_polling_officer_path(current_voting), class: "button button__sm button__secondary" if allowed_to? :create, :polling_officer, voting: current_voting %>
7
- </h2>
7
+ </h1>
8
8
  </div>
9
9
 
10
10
  <%= admin_filter_selector %>
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,10 +1,10 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card" id="polling_stations">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <%= link_to t("actions.new", scope: "decidim.votings.polling_stations"), new_voting_polling_station_path(current_voting), class: "button button__sm button__secondary" if allowed_to? :create, :polling_station, voting: current_voting %>
7
- </h2>
7
+ </h1>
8
8
  </div>
9
9
  <%= admin_filter_selector %>
10
10
  <div class="table-scroll">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,9 +1,9 @@
1
1
  <% add_decidim_page_title(t("info", scope: "decidim.votings.admin.menu.votings_submenu")) %>
2
2
  <% add_decidim_page_title(translated_attribute(current_participatory_space.title)) %>
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t("info", scope: "decidim.votings.admin.menu.votings_submenu") %>
6
- </h2>
6
+ </h1>
7
7
  </div>
8
8
 
9
9
  <div class="item__edit item__edit-1col">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t("votings.new.title", scope: "decidim.votings.admin")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t("votings.new.title", scope: "decidim.votings.admin") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
 
8
8
  <div class="item__edit item__edit-1col">