decidim-sortitions 0.28.1 → 0.29.0.rc1

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: fd815f4f38a9664a11e52034d95a06d51930d6106ab3a0739524d0f64899ac18
4
- data.tar.gz: b1c9ce8439a1719bea155358462b0fe32d11096042e77fb12d2c2f031b0fea77
3
+ metadata.gz: d9783e97fec8a58e1d45ae868626336d6987eb753bd0868ce2f9789ac97fa051
4
+ data.tar.gz: c187aea3fb5cbd52fba26352e451a3f3ef50f0797760c1fe2140e00689a575a4
5
5
  SHA512:
6
- metadata.gz: dcc87180bf91e695fe2c3daedd9ea13fd21d09ce76c46bba2096671aaacafa765acc1a3b39a0c8e1d9db3ebf8d35ce4273644ed1820f1d1117a9371760038027
7
- data.tar.gz: 036303efd4d97f850d08e06f7f4f26828b562f531fd384e0bc7d9068bad19c76cecf86b50cc007b76686e2e497129b9b0fc58b6337f0a3fbca6bfcd9ef6d84a5
6
+ metadata.gz: 42dd8e23c26e7d125295afc334adf9d623ababca039818fd0ca811f59540e1c6907c8434485802a375fb7bc51fc4b05bd062cd07bf5d4d7c39603e4e1fa3693c
7
+ data.tar.gz: d6fdab6f444ecc09408232b4cc6018042a28d71de0c6d7ffc78ab91510724cd02b32a85a49dfea95c72a1458ff88b1e3776d74f92548be4465428e3f43fe1bdb
@@ -7,7 +7,7 @@ module Decidim
7
7
  include Decidim::TranslationsHelper
8
8
  include Decidim::PaginateHelper
9
9
 
10
- # Converst a list of components into a list of selectable options
10
+ # Converts a list of components into a list of selectable options
11
11
  def components_options(components)
12
12
  components.map do |f|
13
13
  [translated_attribute(f.name), f.id]
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Sortitions
5
- # Model that encapsulates the parameters of a sortion
5
+ # Model that encapsulates the parameters of a sortition
6
6
  class Sortition < ApplicationRecord
7
7
  include Decidim::Resourceable
8
8
  include Decidim::HasCategory
@@ -18,30 +18,23 @@ module Decidim
18
18
  @request_timestamp = sortition.request_timestamp
19
19
  end
20
20
 
21
- # Given a particpiatory process retrieves its proposals
21
+ # Given a participatory process retrieves its proposals
22
22
  #
23
23
  # Returns an ActiveRecord::Relation.
24
24
  def query
25
- if category.nil?
26
- return Decidim::Proposals::Proposal
27
- .except_withdrawn
28
- .published
29
- .except_rejected
30
- .not_hidden
31
- .where("decidim_proposals_proposals.created_at < ?", request_timestamp)
32
- .where(component: sortition.decidim_proposals_component)
33
- .order(id: :asc)
34
- end
25
+ proposals = Decidim::Proposals::Proposal
26
+ .not_withdrawn
27
+ .published
28
+ .not_hidden
29
+ .where("decidim_proposals_proposals.created_at < ?", request_timestamp)
30
+ .where(component: sortition.decidim_proposals_component)
31
+ proposals = proposals.where.not(id: proposals.only_status(:rejected))
32
+
33
+ return proposals.order(id: :asc) if category.nil?
35
34
 
36
35
  # categorization -> category
37
- Decidim::Proposals::Proposal
36
+ proposals
38
37
  .joins(:categorization)
39
- .except_withdrawn
40
- .published
41
- .except_rejected
42
- .not_hidden
43
- .where(component: sortition.decidim_proposals_component)
44
- .where("decidim_proposals_proposals.created_at < ?", request_timestamp)
45
38
  .where(decidim_categorizations: { decidim_category_id: category.id })
46
39
  .order(id: :asc)
47
40
  end
@@ -16,7 +16,7 @@
16
16
  <th><%= t("models.sortition.fields.reference", scope: "decidim.sortitions.admin") %></th>
17
17
  <th><%= t("models.sortition.fields.title", scope: "decidim.sortitions.admin") %></th>
18
18
  <th><%= t("models.sortition.fields.created_at", scope: "decidim.sortitions.admin") %></th>
19
- <th class="actions"></th>
19
+ <th></th>
20
20
  </tr>
21
21
  </thead>
22
22
  <tbody>
@@ -25,9 +25,9 @@
25
25
  <td><%= sortition.reference %></td>
26
26
  <td>
27
27
  <% if allowed_to? :update, :sortition, sortition: sortition %>
28
- <%= link_to decidim_html_escape(translated_attribute(sortition.title)), edit_sortition_path(sortition) %>
28
+ <%= link_to decidim_escape_translated(sortition.title), edit_sortition_path(sortition) %>
29
29
  <% else %>
30
- <%= decidim_html_escape(translated_attribute(sortition.title)) %>
30
+ <%= decidim_escape_translated(sortition.title) %>
31
31
  <% end %>
32
32
  </td>
33
33
  <td><%= l sortition.created_at, format: :short %></td>
@@ -2,7 +2,7 @@
2
2
  <div class="card" id="sortition">
3
3
  <div class="item_show__header">
4
4
  <h1 class="item_show__header-title">
5
- <%= decidim_html_escape(translated_attribute(sortition.title)) %>
5
+ <%= decidim_escape_translated(sortition.title) %>
6
6
  </h1>
7
7
  </div>
8
8
  <div class="table-scroll">
@@ -1,4 +1,4 @@
1
- <div class="card card--action card--list">
1
+ <div class="card card--action">
2
2
  <% resources.each do |sortition| %>
3
3
  <div class="card--list__item">
4
4
  <div class="card--list__text">
@@ -7,7 +7,7 @@
7
7
  <% end %>
8
8
  <div>
9
9
  <%= link_to resource_locator(sortition).path, class: "card__link" do %>
10
- <h5 class="card--list__heading"><%= decidim_html_escape(translated_attribute(sortition.title)) %></h5>
10
+ <h5 class="card--list__heading"><%= decidim_escape_translated(sortition.title) %></h5>
11
11
  <% end %>
12
12
  <div class="author">
13
13
  <span class="author__avatar">
@@ -19,8 +19,8 @@
19
19
  </div>
20
20
  </div>
21
21
  </div>
22
- <div class="card--list__data">
23
- <span class="card--list__data__number">
22
+ <div>
23
+ <span>
24
24
  <%= sortition.selected_proposals.size %>
25
25
  </span> <%= t(".selected_proposals", count: proposal.selected_proposals.size) %>
26
26
  </div>
@@ -1,11 +1,11 @@
1
- <div class="author-data__main">
2
- <div class="author author--inline">
3
- <span class="author__avatar author__avatar--small">
1
+ <div>
2
+ <div class="author">
3
+ <span class="author__avatar">
4
4
  <%= image_tag present(sortition.author).avatar_url %>
5
5
  </span>
6
6
  <span class="author__name">
7
7
  <% if sortition.author&.deleted? %>
8
- <span class="label label--small label--basic">
8
+ <span class="label">
9
9
  <%= t(".deleted") %>
10
10
  </span>
11
11
  <% else %>
@@ -1,11 +1,11 @@
1
- <div class="author-data__main">
2
- <div class="author author--inline">
3
- <span class="author__avatar author__avatar--small">
1
+ <div>
2
+ <div class="author">
3
+ <span class="author__avatar">
4
4
  <%= image_tag present(sortition.cancelled_by_user).avatar_url %>
5
5
  </span>
6
6
  <span class="author__name">
7
7
  <% if sortition.cancelled_by_user&.deleted? %>
8
- <span class="label label--small label--basic">
8
+ <span class="label">
9
9
  <%= t(".deleted") %>
10
10
  </span>
11
11
  <% else %>
@@ -1,4 +1,4 @@
1
- <ul class="tags tags--sortition">
1
+ <ul>
2
2
  <li>
3
3
  <%= link_to t("filters.active", scope: "decidim.sortitions.sortitions"),
4
4
  sortitions_path(filter: { with_any_state: "active" }) unless sortition.cancelled? %>
@@ -1,6 +1,6 @@
1
1
  <% add_decidim_meta_tags({
2
2
  description: decidim_sanitize_editor(translated_attribute(sortition.additional_info)),
3
- title: decidim_html_escape(translated_attribute(sortition.title)),
3
+ title: decidim_escape_translated(sortition.title),
4
4
  url: sortition_url(sortition.to_param)
5
5
  }) %>
6
6
 
@@ -21,7 +21,7 @@ edit_link(
21
21
 
22
22
  <section class="layout-main__section layout-main__heading">
23
23
  <h1 class="h1 decorator mb-4">
24
- <%= decidim_html_escape(translated_attribute(sortition.title)) %>
24
+ <%= decidim_escape_translated(sortition.title) %>
25
25
  </h1>
26
26
  <div class="layout-author">
27
27
  <%= cell "decidim/author", present(sortition.author), context_actions: [:date], from: sortition, layout: :compact %>
@@ -3,6 +3,138 @@ bg:
3
3
  activemodel:
4
4
  attributes:
5
5
  sortition:
6
- additional_info: Сортиране на информация
6
+ additional_info: Информация за сортировката
7
7
  decidim_category_id: Категории от набора от предложения, в които искате да приложите жребий
8
8
  decidim_proposals_component_id: Предложенията са зададени
9
+ dice: Резултат от хвърлянето на зара. Хвърлете 6-странен зар или потърсете друг произволен начин за генериране на число от 1 до 6 и въведете тук полученото число пред няколко свидетели. Това допринася за качеството и гаранции за случайността на резултата
10
+ target_items: Брой на предложенията, които да бъдат избрани (указва броя на предложенията, които искате да бъдат избрани чрез хвърляне на жребий от групата предложения, които сте избрали по-рано)
11
+ title: Заглавие
12
+ witnesses: Свидетели
13
+ models:
14
+ decidim/sortitions/create_sortition_event: Сортиране
15
+ activerecord:
16
+ models:
17
+ decidim/sortitions/sortition:
18
+ one: Сортиране
19
+ other: Сортирания
20
+ decidim:
21
+ components:
22
+ sortitions:
23
+ actions:
24
+ comment: Коментар
25
+ name: Сортирания
26
+ settings:
27
+ global:
28
+ comments_enabled: Коментарите са разрешени
29
+ comments_max_length: Максимална дължина на коментарите (Оставете 0 за стойност по подразбиране)
30
+ events:
31
+ sortitions:
32
+ sortition_created:
33
+ email_intro: Сортировката „%{resource_title}“ беше добавена към пространството за участие „%{participatory_space_title}“, което следвате.
34
+ email_outro: Получавате това известие, защото следвате "%{participatory_space_title}". Може да премахнете следването чрез предходния линк.
35
+ email_subject: Беше добавена нова сортировка в(ъв) %{participatory_space_title}
36
+ notification_title: Сортировката <a href="%{resource_path}">%{resource_title}</a> беше добавена в(ъв) %{participatory_space_title}
37
+ sortitions:
38
+ admin:
39
+ actions:
40
+ destroy: Отмяна на сортировката
41
+ edit: Редактирай
42
+ new_sortition: Нова сортировка
43
+ show: Детайли за сортировката
44
+ models:
45
+ sortition:
46
+ fields:
47
+ category: Категория
48
+ created_at: Дата на създаване
49
+ decidim_proposals_component: Компонент Предложения
50
+ dice: Зар
51
+ reference: Препоръка
52
+ request_timestamp: Време за теглене на жребий
53
+ seed: Seed
54
+ target_items: Елементи за селектиране
55
+ title: Заглавие
56
+ sortitions:
57
+ confirm_destroy:
58
+ confirm_destroy: Наистина ли искате да отмените тази сортировка?
59
+ destroy: Отмяна на сортировка
60
+ title: Отменяне на сортировката
61
+ create:
62
+ error: Възникна проблем при създаването на нова сортировка.
63
+ success: Сортировката беше създадена успешно.
64
+ destroy:
65
+ error: Сортировката не може бъде отменена.
66
+ success: Сортировката беше отменена успешно.
67
+ edit:
68
+ title: Актуализирайте информацията за сортировката
69
+ update: Актуализация
70
+ form:
71
+ all_categories: Всички категории
72
+ select_proposal_component: Изберете набора от предложения
73
+ index:
74
+ title: Сортировки
75
+ new:
76
+ confirm: Когато натиснете бутона „Напред“, системата ще запише датата и часа (с точност до секунди) и заедно с хвърлянето на зара тази информация ще се използва за генериране на избор на случаен принцип. Действието няма да може да бъде отменено — когато щракнете върху бутона, резултатът от жребия ще бъде публикуван заедно с въведените в този формуляр данни и няма да подлежи на промяна. Моля, прегледайте съдържанието внимателно.
77
+ create: Създаване
78
+ title: Нова сортировка
79
+ show:
80
+ selected_proposals: Избрани предложения за жребия
81
+ update:
82
+ error: Възникна проблем при актуализирането на сортировката.
83
+ success: Сортировката беше актуализирана успешно.
84
+ admin_log:
85
+ sortition:
86
+ create: "%{user_name} създаде сортировка %{resource_name} в пространството %{space_name}"
87
+ delete: "%{user_name} отмени сортировката %{resource_name} в пространството %{space_name}"
88
+ update: "%{user_name} актуализира сортировката %{resource_name} в пространството %{space_name}"
89
+ sortitions:
90
+ count:
91
+ proposals_count:
92
+ one: 1 предложение
93
+ other: "%{count} предложения"
94
+ filters:
95
+ active: Активно
96
+ all: Всички
97
+ cancelled: Отменено
98
+ category: Категория
99
+ state: Статус
100
+ index:
101
+ empty: Все още няма сортировки.
102
+ linked_sortitions:
103
+ selected_proposals: Избрани предложения
104
+ orders:
105
+ label: 'Подреждане на сортировките по:'
106
+ random: Случаен
107
+ recent: Скорошни
108
+ results_count:
109
+ count:
110
+ one: Избрано предложение
111
+ other: Избрани предложения
112
+ show:
113
+ algorithm: Код на алгоритъма за жребия в сортировката
114
+ any_category: от всички категории
115
+ cancelled: Отменена сортировка
116
+ candidate_proposal_ids: Ред и ID номерата на предложенията в сортировката
117
+ candidate_proposals_info: 'Сортирането беше извършено сред следните предложения (%{category_label}), със следните идентификатори (с удебелен шрифт избраните предложения) '
118
+ category: от категорията %{category}
119
+ dice_result: Резултат от жребия
120
+ introduction: 'Тази страница съдържа резултатите от сортирането %{reference}. Чрез това сортиране, %{target_items} брой резултати са избрани на случаен принцип и с равно вероятностно разпределение от набора от предложения, показани по-долу. Заедно с резултатите, информацията, показана на тази страница, предоставя цялата информация, необходима за максимизиране на гаранциите и за възпроизвеждане на резултатите. Ключът към качеството на това сортиране е двойната случайност, осигурена от хвърлянето на зарове (потвърдено от свидетели) и точното време на сортирането, което осигурява вход за алгоритъм, който генерира случаен избор. Времето за начало за сортирането е толкова точно (секунди), че е невъзможно да се контролира от хора, като по този начин се осигурява двоен „неконтролируем“ вход, за да се гарантира справедлив резултат. '
121
+ mathematical_result: Резулатат (Зарове х Разбъркване)
122
+ proposals_selected_by_sortition: Избрани чрез (жребий) сортировка предложения
123
+ sortition_reproducibility_details: Подробности за възпроизвеждане на сортировката
124
+ time_seed: Време за разбъркване
125
+ witnesses: Свидетели
126
+ sortition:
127
+ random_seed: Случаен подбор
128
+ selected_proposals:
129
+ one: избрано предложение
130
+ other: избрани предложения
131
+ sortition_author:
132
+ deleted: Изтрит участник
133
+ sortition_cancel_author:
134
+ deleted: Изтрит участник
135
+ sortitions_count:
136
+ count:
137
+ one: 1 сортировка
138
+ other: "%{count} сортировки"
139
+ statistics:
140
+ sortitions_count: Сортировки
@@ -22,6 +22,8 @@ pl:
22
22
  decidim:
23
23
  components:
24
24
  sortitions:
25
+ actions:
26
+ comment: Skomentuj
25
27
  name: Wybory losowe
26
28
  settings:
27
29
  global:
@@ -39,6 +41,7 @@ pl:
39
41
  actions:
40
42
  destroy: Anuluj wybór losowy
41
43
  edit: Edytuj
44
+ new_sortition: Nowy wybór przez losowanie
42
45
  show: Szczegóły dotyczące wyboru losowego
43
46
  models:
44
47
  sortition:
@@ -59,6 +62,10 @@ pl:
59
62
  title: Anulowanie wyboru losowego
60
63
  create:
61
64
  error: Wystąpił błąd podczas tworzenia nowego wyboru losowego.
65
+ success: Wybór losowy został utworzony.
66
+ destroy:
67
+ error: Nie można anulować wyboru przez losowanie.
68
+ success: Wybór losowy został anulowany.
62
69
  edit:
63
70
  title: Zaktualizuj informacje o wyborze losowym
64
71
  update: Aktualizuj
@@ -68,12 +75,14 @@ pl:
68
75
  index:
69
76
  title: Wybór losowy
70
77
  new:
78
+ confirm: Naciśnięcie przycisku dalej sprawi, że platforma zapisze datę i godzinę (z dokładnością do sekund) wraz z wynikiem rzutu kostką. Informacje te zostaną wykorzystane do dokonania losowego wyboru. Nie można cofnąć tej operacji; po kliknięciu przycisku wynik losowania zostanie opublikowany wraz z danymi wpisanymi w formularzu i nie będzie można modyfikować jego treści. Prosimy o uważne sprawdzenie jego treści.
71
79
  create: Utwórz
72
80
  title: Nowy wybór losowy
73
81
  show:
74
82
  selected_proposals: Propozycje wskazane do losowania
75
83
  update:
76
84
  error: Wystąpił błąd podczas aktualizacji wyboru losowego.
85
+ success: Wybór losowy został zaktualizowany.
77
86
  admin_log:
78
87
  sortition:
79
88
  create: "%{user_name} utworzył(a) wybór losowy %{resource_name} w %{space_name}"
@@ -92,6 +101,8 @@ pl:
92
101
  cancelled: Anulowane
93
102
  category: Kategoria
94
103
  state: Status
104
+ index:
105
+ empty: Nie ma jeszcze żadnych wyborów przez losowanie.
95
106
  linked_sortitions:
96
107
  selected_proposals: Wybrane propozycje
97
108
  orders:
@@ -135,3 +146,5 @@ pl:
135
146
  few: "%{count} wyborów losowych"
136
147
  many: "%{count} wybory losowe"
137
148
  other: "%{count} wybory losowe"
149
+ statistics:
150
+ sortitions_count: Wybory przez losowanie
@@ -89,6 +89,8 @@ tr:
89
89
  cancelled: İptal edildi
90
90
  category: Kategori
91
91
  state: Statü
92
+ index:
93
+ empty: Henüz bir sıralama yok.
92
94
  linked_sortitions:
93
95
  selected_proposals: Seçili teklifler
94
96
  orders:
@@ -17,11 +17,11 @@ Gem::Specification.new do |s|
17
17
  "homepage_uri" => "https://decidim.org",
18
18
  "source_code_uri" => "https://github.com/decidim/decidim"
19
19
  }
20
- s.required_ruby_version = "~> 3.1.0"
20
+ s.required_ruby_version = "~> 3.2.0"
21
21
 
22
22
  s.name = "decidim-sortitions"
23
23
  s.summary = "Decidim sortitions module"
24
- s.description = "This module makes possible to select amont a set of proposal by sortition"
24
+ s.description = "This module makes possible to select amount a set of proposal by sortition"
25
25
 
26
26
  s.files = Dir.chdir(__dir__) do
27
27
  `git ls-files -z`.split("\x0").select do |f|
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Sortitions
5
- # This is the engine that runs on the administration interface of `decidim_sorititions`.
5
+ # This is the engine that runs on the administration interface of `decidim_sortitions`.
6
6
  # It mostly handles rendering the created projects associated to a participatory
7
7
  # process.
8
8
  class AdminEngine < ::Rails::Engine
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module Sortitions
5
5
  def self.version
6
- "0.28.1"
6
+ "0.29.0.rc1"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-sortitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.1
4
+ version: 0.29.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Salvador Perez Garcia
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-30 00:00:00.000000000 Z
11
+ date: 2024-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,71 +16,71 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.28.1
19
+ version: 0.29.0.rc1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.28.1
26
+ version: 0.29.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.28.1
33
+ version: 0.29.0.rc1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.28.1
40
+ version: 0.29.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.28.1
47
+ version: 0.29.0.rc1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.28.1
54
+ version: 0.29.0.rc1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-proposals
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.28.1
61
+ version: 0.29.0.rc1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.28.1
68
+ version: 0.29.0.rc1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-dev
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.28.1
75
+ version: 0.29.0.rc1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.28.1
83
- description: This module makes possible to select amont a set of proposal by sortition
82
+ version: 0.29.0.rc1
83
+ description: This module makes possible to select amount a set of proposal by sortition
84
84
  email:
85
85
  - jsperezg@gmail.com
86
86
  executables: []
@@ -127,7 +127,6 @@ files:
127
127
  - app/views/decidim/sortitions/sortitions/_count.html.erb
128
128
  - app/views/decidim/sortitions/sortitions/_linked_sortitions.html.erb
129
129
  - app/views/decidim/sortitions/sortitions/_proposal.html.erb
130
- - app/views/decidim/sortitions/sortitions/_proposal_badge.html.erb
131
130
  - app/views/decidim/sortitions/sortitions/_results_count.html.erb
132
131
  - app/views/decidim/sortitions/sortitions/_sortition.html.erb
133
132
  - app/views/decidim/sortitions/sortitions/_sortition_author.html.erb
@@ -256,7 +255,7 @@ metadata:
256
255
  funding_uri: https://opencollective.com/decidim
257
256
  homepage_uri: https://decidim.org
258
257
  source_code_uri: https://github.com/decidim/decidim
259
- post_install_message:
258
+ post_install_message:
260
259
  rdoc_options: []
261
260
  require_paths:
262
261
  - lib
@@ -264,15 +263,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
263
  requirements:
265
264
  - - "~>"
266
265
  - !ruby/object:Gem::Version
267
- version: 3.1.0
266
+ version: 3.2.0
268
267
  required_rubygems_version: !ruby/object:Gem::Requirement
269
268
  requirements:
270
- - - ">="
269
+ - - ">"
271
270
  - !ruby/object:Gem::Version
272
- version: '0'
271
+ version: 1.3.1
273
272
  requirements: []
274
- rubygems_version: 3.5.9
275
- signing_key:
273
+ rubygems_version: 3.4.10
274
+ signing_key:
276
275
  specification_version: 4
277
276
  summary: Decidim sortitions module
278
277
  test_files: []
@@ -1,3 +0,0 @@
1
- <% if proposal.answered? %>
2
- <span class="<%= proposal_state_badge_css_class(proposal.state) %> label proposal-status"><%= humanize_proposal_state proposal.state %></span>
3
- <% end %>