decidim-elections 0.28.0 → 0.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/cells/decidim/elections/highlighted_elections_for_component/show.erb +1 -1
- data/app/cells/decidim/votings/content_blocks/hero_cell.rb +0 -12
- data/app/controllers/concerns/decidim/votings/admin/voting_admin.rb +3 -2
- data/app/controllers/decidim/votings/admin/monitoring_committee_members_controller.rb +15 -0
- data/app/controllers/decidim/votings/admin/votings_landing_page_controller.rb +3 -0
- data/app/helpers/decidim/votings/votings_helper.rb +1 -1
- data/app/views/decidim/elections/admin/answers/edit.html.erb +2 -2
- data/app/views/decidim/elections/admin/answers/index.html.erb +2 -2
- data/app/views/decidim/elections/admin/answers/new.html.erb +2 -2
- data/app/views/decidim/elections/admin/elections/edit.html.erb +2 -2
- data/app/views/decidim/elections/admin/elections/index.html.erb +2 -2
- data/app/views/decidim/elections/admin/elections/new.html.erb +2 -2
- data/app/views/decidim/elections/admin/proposals_imports/new.html.erb +2 -2
- data/app/views/decidim/elections/admin/questions/edit.html.erb +2 -2
- data/app/views/decidim/elections/admin/questions/index.html.erb +2 -2
- data/app/views/decidim/elections/admin/questions/new.html.erb +2 -2
- data/app/views/decidim/elections/admin/steps/_created.html.erb +1 -1
- data/app/views/decidim/elections/admin/steps/_key_ceremony.html.erb +1 -1
- data/app/views/decidim/elections/admin/steps/_key_ceremony_ended.html.erb +1 -1
- data/app/views/decidim/elections/admin/steps/_results_published.html.erb +2 -2
- data/app/views/decidim/elections/admin/steps/_tally_ended.html.erb +2 -2
- data/app/views/decidim/elections/admin/steps/_tally_started.html.erb +1 -1
- data/app/views/decidim/elections/admin/steps/_vote.html.erb +1 -1
- data/app/views/decidim/elections/admin/steps/_vote_ended.html.erb +1 -1
- data/app/views/decidim/elections/admin/steps/_vote_stats.html.erb +2 -2
- data/app/views/decidim/elections/admin/steps/index.html.erb +2 -2
- data/app/views/decidim/elections/admin/trustees_participatory_spaces/index.html.erb +2 -2
- data/app/views/decidim/elections/admin/trustees_participatory_spaces/new.html.erb +2 -2
- data/app/views/decidim/votings/admin/ballot_styles/edit.html.erb +2 -2
- data/app/views/decidim/votings/admin/ballot_styles/index.html.erb +2 -2
- data/app/views/decidim/votings/admin/ballot_styles/new.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_election_results/_results.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_election_results/index.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_members/index.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_members/new.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/_closures.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/_elections.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/edit.html.erb +2 -2
- data/app/views/decidim/votings/admin/monitoring_committee_verify_elections/index.html.erb +2 -2
- data/app/views/decidim/votings/admin/polling_officers/index.html.erb +2 -2
- data/app/views/decidim/votings/admin/polling_officers/new.html.erb +2 -2
- data/app/views/decidim/votings/admin/polling_stations/edit.html.erb +2 -2
- data/app/views/decidim/votings/admin/polling_stations/index.html.erb +2 -2
- data/app/views/decidim/votings/admin/polling_stations/new.html.erb +2 -2
- data/app/views/decidim/votings/admin/votings/edit.html.erb +2 -2
- data/app/views/decidim/votings/admin/votings/new.html.erb +2 -2
- data/app/views/decidim/votings/census/admin/census/show.html.erb +2 -2
- data/config/locales/bg.yml +1377 -0
- data/config/locales/ca.yml +6 -6
- data/config/locales/cs.yml +2 -0
- data/config/locales/de.yml +1 -1
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es.yml +5 -5
- data/config/locales/eu.yml +3 -0
- data/config/locales/fi-plain.yml +3 -0
- data/config/locales/fi.yml +3 -0
- data/config/locales/gl.yml +2 -0
- data/config/locales/he-IL.yml +1 -0
- data/config/locales/hu.yml +14 -0
- data/config/locales/it.yml +2 -0
- data/config/locales/ja.yml +4 -1
- data/config/locales/nl.yml +2 -0
- data/config/locales/pl.yml +349 -0
- data/config/locales/pt-BR.yml +178 -0
- data/config/locales/pt.yml +2 -0
- data/config/locales/ru.yml +5 -0
- data/config/locales/sk.yml +5 -0
- data/config/locales/sv.yml +3 -0
- data/config/locales/tr-TR.yml +6 -0
- data/config/locales/uk.yml +5 -0
- data/db/migrate/20210310120708_add_followable_counter_cache_to_votings.rb +6 -2
- data/decidim-elections.gemspec +44 -0
- data/lib/decidim/elections/version.rb +1 -1
- data/lib/decidim/votings/admin_engine.rb +0 -12
- data/lib/decidim/votings/content_blocks/registry_manager.rb +8 -1
- data/lib/decidim/votings/menu.rb +2 -5
- metadata +17 -16
- data/config/environment.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0397cc7a8b48a85f388b7e46c36fb7270d84b036167149c0d940cc7571acba1
|
|
4
|
+
data.tar.gz: 52ad6a0adf47b2093267db594efc51e896df6a9bfdfec9ece402083770ce98fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a546c2e70606b3d3994df202963c1a1289c1358311c69a73ac384da444079f482196cf8d02dd412911eb9386a5602e3208eb18e1d565a1cc9cc57ed3152b3b7a
|
|
7
|
+
data.tar.gz: 7acc096e44db22c26c0419a0d8bd6c0dd590ae3ee88536b0c56b209cdc0f0de1b397b2528e29546c7fcb336919a3536587ba7283e093538b3f7a7322650d60ee
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="content-block__title">
|
|
2
2
|
<h2 class="h2 decorator">
|
|
3
|
-
<%= single_component? ?
|
|
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:
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<div>
|
|
5
5
|
<%= link_to translated_attribute(election.title), elections_path %> >
|
|
6
6
|
<%= link_to translated_attribute(question.title), election_questions_path(election) %> >
|
|
7
7
|
<%= t(".title") %>
|
|
8
8
|
</div>
|
|
9
|
-
</
|
|
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
|
-
<
|
|
4
|
+
<h1 class="item_show__header-title">
|
|
5
5
|
<div>
|
|
6
6
|
<%= link_to translated_attribute(election.title), elections_path %> >
|
|
7
7
|
<%= link_to translated_attribute(question.title), election_questions_path(election) %> >
|
|
@@ -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
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<div>
|
|
5
5
|
<%= link_to translated_attribute(election.title), elections_path %> >
|
|
6
6
|
<%= link_to translated_attribute(question.title), election_questions_path(election) %> >
|
|
7
7
|
<%= t(".title") %>
|
|
8
8
|
</div>
|
|
9
|
-
</
|
|
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
|
-
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<div>
|
|
5
5
|
<%= link_to translated_attribute(election.title), elections_path %> >
|
|
6
6
|
<%= link_to translated_attribute(question.title), election_questions_path(election) %> >
|
|
7
7
|
<%= t(".title") %>
|
|
8
8
|
</div>
|
|
9
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<div>
|
|
5
5
|
<%= link_to translated_attribute(election.title), elections_path %> >
|
|
6
6
|
<%= t(".title") %>
|
|
7
7
|
</div>
|
|
8
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<div>
|
|
5
5
|
<%= link_to translated_attribute(election.title), elections_path %> >
|
|
6
6
|
<%= t(".title") %>
|
|
7
7
|
</div>
|
|
8
|
-
</
|
|
8
|
+
</h1>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="item__edit item__edit-1col">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<div class="card" data-vote-status="<%= election.bb_status %>">
|
|
2
2
|
<div class="item_show__header">
|
|
3
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
5
|
+
</h1>
|
|
6
6
|
</div>
|
|
7
7
|
<div class="item__edit item__edit-1col">
|
|
8
8
|
<div class="item__edit-form">
|
data/app/views/decidim/votings/admin/monitoring_committee_election_results/_results.html.erb
CHANGED
|
@@ -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
|
-
<
|
|
4
|
+
<h1 class="item_show__header-title">
|
|
5
5
|
<%= t(".title", election_title: translated_attribute(election.title)).html_safe %>
|
|
6
|
-
</
|
|
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
|
-
<
|
|
4
|
+
<h1 class="item_show__header-title">
|
|
5
5
|
<%= t(".title") %>
|
|
6
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
<
|
|
9
|
+
<h1 class="item_show__header-title">
|
|
10
10
|
<%= t(".title", election_title: translated_attribute(election.title)).html_safe %>
|
|
11
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
5
|
+
</h1>
|
|
6
6
|
</div>
|
|
7
7
|
<div class="table-scroll">
|
|
8
8
|
<table class="table-list">
|
data/app/views/decidim/votings/admin/monitoring_committee_polling_station_closures/edit.html.erb
CHANGED
|
@@ -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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
4
|
+
<h1 class="item_show__header-title">
|
|
5
5
|
<%= t(".title") %>
|
|
6
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t(".title") %>
|
|
5
|
-
</
|
|
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
|
-
|
|
4
|
+
<h1 class="item_show__header-title">
|
|
5
5
|
<%= t("info", scope: "decidim.votings.admin.menu.votings_submenu") %>
|
|
6
|
-
</
|
|
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
|
-
<
|
|
3
|
+
<h1 class="item_show__header-title">
|
|
4
4
|
<%= t("votings.new.title", scope: "decidim.votings.admin") %>
|
|
5
|
-
</
|
|
5
|
+
</h1>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
<div class="item__edit item__edit-1col">
|