decidim-participatory_processes 0.26.0 → 0.26.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b584299fe506cf5fbe816436f5aca359c381a3d5c04d72c1fc3c0610008e6ef7
4
- data.tar.gz: 06417b81d43ac7cdd15d6ead9e2104aafe7c7bc7b82d0362b5613e0ae067e5ae
3
+ metadata.gz: 22cc1282cd81180e263805209b5b2f9a18c2a43b2b9347e168b2dc8b08841fa4
4
+ data.tar.gz: cc514a0170cee7812314d2169df78714a0f7276831e33c52b7355f3f5cefc196
5
5
  SHA512:
6
- metadata.gz: 5a7a2c126c59b61626d5def83cc6e10d09b1acd9a2e207464d62780b9187a0ff244d748c154d8b08bc6f3f1caad2602594b530aeb70373341df125a034d9f7c7
7
- data.tar.gz: 77c543550fbed67249af85507b0fc971776b7443f63ea487d0edb6b127506d5f2579aa33f8fd1ed00da8f65525b168d0d5685917ce00927ecd9d9ae829985023
6
+ metadata.gz: 974bfce15fd116417f1e96eca713ce008b06a0cf97b169564f9b26f211f1c4dee697c55e324d3a6de87deb0b48d51b7db5ba5c9cc2ba06bbe5aa4694938b3655
7
+ data.tar.gz: d655ff176321f1c4b24f56df35e98fa27a7efb265a0077ed3f992ab39e0c0ea89243e496ac68bbc3564449a7e31a484cce1adab5ba5c24d49f3a4745a904505a
@@ -23,7 +23,7 @@
23
23
  <%= icon "twitter", role: "img", aria_label: "Twitter", class: "mr-xs" %>
24
24
  <%= link_to(
25
25
  "##{hashtag_text}",
26
- "https://twitter.com/hashtag/#{hashtag_text}",
26
+ twitter_hashtag_url(hashtag_text),
27
27
  target: "_blank"
28
28
  ) %>
29
29
  </div>
@@ -6,6 +6,7 @@ module Decidim
6
6
  class TitleCell < Decidim::ViewModel
7
7
  include Decidim::SanitizeHelper
8
8
  include Decidim::IconHelper
9
+ include Decidim::TwitterSearchHelper
9
10
 
10
11
  delegate :group_url, to: :participatory_process_group
11
12
 
@@ -1,7 +1,7 @@
1
1
  <% if model.hashtag.present? %>
2
2
  <%= link_to(
3
3
  "##{decidim_html_escape(model.hashtag)}",
4
- "https://twitter.com/hashtag/#{decidim_html_escape(model.hashtag)}",
4
+ twitter_hashtag_url(decidim_html_escape(model.hashtag)),
5
5
  class: "card__text--category",
6
6
  target: "_blank"
7
7
  ) %>
@@ -7,6 +7,7 @@ module Decidim
7
7
  class ProcessMCell < Decidim::CardMCell
8
8
  include Decidim::SanitizeHelper
9
9
  include Decidim::TranslationsHelper
10
+ include Decidim::TwitterSearchHelper
10
11
 
11
12
  private
12
13
 
@@ -88,7 +88,10 @@ module Decidim
88
88
  meta_scope: form.meta_scope,
89
89
  start_date: form.start_date,
90
90
  end_date: form.end_date,
91
- participatory_process_group: form.participatory_process_group
91
+ participatory_process_group: form.participatory_process_group,
92
+ show_metrics: form.show_metrics,
93
+ show_statistics: form.show_statistics,
94
+ announcement: form.announcement
92
95
  }
93
96
  end
94
97
 
@@ -7,7 +7,7 @@
7
7
  <span class="timeline__date text-small">
8
8
  <%= participatory_space_helpers.step_dates(participatory_process_step) %>
9
9
  </span>
10
- <h4 class="timeline__title heading4"><%= translated_attribute(participatory_process_step.title) %></h4>
10
+ <h3 class="timeline__title heading4"><%= translated_attribute(participatory_process_step.title) %></h3>
11
11
  </div>
12
12
  <div class="timeline__content">
13
13
  <%= translated_attribute(participatory_process_step.description).html_safe %>
@@ -10,7 +10,7 @@
10
10
  <%= t(".back_to_process") %>
11
11
  <% end %>
12
12
 
13
- <h3 class="section-heading"><%= t("participatory_process_steps.index.process_steps", scope: "decidim") %></h3>
13
+ <h2 class="section-heading"><%= t("participatory_process_steps.index.process_steps", scope: "decidim") %></h2>
14
14
  <%= render partial: "timeline" %>
15
15
  </div>
16
16
  </div>
@@ -27,6 +27,7 @@
27
27
  <div class="row">
28
28
  <div class="columns medium-7 mediumlarge-8">
29
29
  <div class="section">
30
+ <h2 class="show-for-sr"><%= t(".title") %></h2>
30
31
  <% if participatory_process_group.present? %>
31
32
  <%= render partial: "participatory_process_group" %>
32
33
  <% end %>
@@ -11,14 +11,14 @@
11
11
  </h1>
12
12
  </div>
13
13
  <div>
14
- <h2 class="text-highlight heading-small">
14
+ <p class="text-highlight heading-small">
15
15
  <% if current_participatory_space.hashtag.present? %>
16
16
  <span class="process-header__hashtag">
17
- <%= link_to "##{decidim_html_escape(current_participatory_space.hashtag)}", "https://twitter.com/hashtag/#{decidim_html_escape(current_participatory_space.hashtag)}", target: "_blank" %>
17
+ <%= link_to "##{decidim_html_escape(current_participatory_space.hashtag)}", twitter_hashtag_url(decidim_html_escape(current_participatory_space.hashtag)), target: "_blank" %>
18
18
  </span>
19
19
  <% end %>
20
20
  <%= translated_attribute(current_participatory_space.subtitle) %>
21
- </h2>
21
+ </p>
22
22
  </div>
23
23
  </div>
24
24
  <%= render partial: "layouts/decidim/process_header_steps", locals: { participatory_process: current_participatory_space } %>
@@ -451,6 +451,8 @@ cs:
451
451
  see: Vidět
452
452
  index:
453
453
  loading: Načítání výsledků...
454
+ show:
455
+ title: O tomto procesu
454
456
  show:
455
457
  area: Oblast
456
458
  belongs_to_group: Tento proces patří do
@@ -435,6 +435,8 @@ de:
435
435
  see: Sehen
436
436
  index:
437
437
  loading: Ergebnisse werden geladen ...
438
+ show:
439
+ title: Über diesen Prozess
438
440
  show:
439
441
  area: Bereich
440
442
  belongs_to_group: Dieser Prozess gehört zu
@@ -443,7 +445,7 @@ de:
443
445
  end_date: Enddatum
444
446
  local_area: Organisationsbereich
445
447
  participatory_scope: Was wird entschieden?
446
- participatory_structure: Wie ist es entschieden?
448
+ participatory_structure: Wie wird es entschieden
447
449
  private_space: Dies ist ein privater Prozess
448
450
  related_processes: Ähnliche Beteiligungsprozesse
449
451
  scope: Umfang
@@ -436,6 +436,8 @@ en:
436
436
  see: See
437
437
  index:
438
438
  loading: Loading results...
439
+ show:
440
+ title: About this process
439
441
  show:
440
442
  area: Area
441
443
  belongs_to_group: This process belongs to
@@ -435,6 +435,8 @@ fi-pl:
435
435
  see: Katso
436
436
  index:
437
437
  loading: Ladataan tulokset...
438
+ show:
439
+ title: Tietoa tästä prosessista
438
440
  show:
439
441
  area: Alue
440
442
  belongs_to_group: Tämä prosessi kuuluu ryhmään
@@ -435,6 +435,8 @@ fi:
435
435
  see: Näytä
436
436
  index:
437
437
  loading: Ladataan tulokset...
438
+ show:
439
+ title: Tietoa tästä prosessista
438
440
  show:
439
441
  area: Alue
440
442
  belongs_to_group: Tämä prosessi kuuluu ryhmään
@@ -435,6 +435,8 @@ fr-CA:
435
435
  see: Voir
436
436
  index:
437
437
  loading: Chargement des résultats...
438
+ show:
439
+ title: A propos de cette concertation
438
440
  show:
439
441
  area: Périmètre d'assemblée
440
442
  belongs_to_group: Cette concertation appartient à
@@ -435,6 +435,8 @@ fr:
435
435
  see: Voir
436
436
  index:
437
437
  loading: Chargement des résultats...
438
+ show:
439
+ title: A propos de cette concertation
438
440
  show:
439
441
  area: Périmètre d'assemblée
440
442
  belongs_to_group: Cette concertation appartient à
@@ -415,6 +415,8 @@ gl:
415
415
  see: Ver
416
416
  index:
417
417
  loading: Cargando resultados ...
418
+ show:
419
+ title: Sobre este proceso
418
420
  show:
419
421
  area: Área
420
422
  belongs_to_group: Este proceso pertence a
@@ -435,6 +435,8 @@ it:
435
435
  see: Vedi tutto
436
436
  index:
437
437
  loading: Caricamento risultati...
438
+ show:
439
+ title: Informazioni su questo processo
438
440
  show:
439
441
  area: Area
440
442
  belongs_to_group: Questo processo appartiene a
@@ -119,7 +119,7 @@ ja:
119
119
  participatory_process:
120
120
  fields:
121
121
  created_at: 作成日時
122
- private: 非公開
122
+ private: プライベート
123
123
  promoted: 強調表示
124
124
  published: 公開済み
125
125
  title: タイトル
@@ -241,7 +241,7 @@ ja:
241
241
  update: 更新
242
242
  index:
243
243
  not_published: 未公開
244
- private: 非公開
244
+ private: プライベート
245
245
  public: 公開
246
246
  published: 公開済み
247
247
  new:
@@ -315,7 +315,7 @@ ja:
315
315
  title: 参加型プロセス
316
316
  participatory_process:
317
317
  show:
318
- related_assemblies: 関連する参加スペース
318
+ related_assemblies: 関連する参加型スペース
319
319
  participatory_process_groups:
320
320
  content_blocks:
321
321
  html_1:
@@ -427,6 +427,8 @@ ja:
427
427
  see: 見る
428
428
  index:
429
429
  loading: 結果を読み込み中...
430
+ show:
431
+ title: このプロセスについて
430
432
  show:
431
433
  area: エリア
432
434
  belongs_to_group: このプロセスの所属グループ
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-participatory_processes version.
5
5
  module ParticipatoryProcesses
6
6
  def self.version
7
- "0.26.0"
7
+ "0.26.1"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-participatory_processes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-02-22 00:00:00.000000000 Z
13
+ date: 2022-03-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,56 +18,56 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.26.0
21
+ version: 0.26.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.26.0
28
+ version: 0.26.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-admin
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.26.0
35
+ version: 0.26.1
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.26.0
42
+ version: 0.26.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-dev
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.26.0
49
+ version: 0.26.1
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.26.0
56
+ version: 0.26.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: decidim-meetings
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - '='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.26.0
63
+ version: 0.26.1
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - '='
69
69
  - !ruby/object:Gem::Version
70
- version: 0.26.0
70
+ version: 0.26.1
71
71
  description: Participatory processes component for decidim.
72
72
  email:
73
73
  - josepjaume@gmail.com