decidim-meetings 0.26.0 → 0.26.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
  SHA256:
3
- metadata.gz: 9aa74a2104f0372a4d331aa41e88f7367e925bb18291aaf19973c066b93455cd
4
- data.tar.gz: 544fd839d77524cb50bd90b87d7c719308d2b7d3079c66b66f0e065a145936f1
3
+ metadata.gz: 9e68d252396f00c0349451ad1fc9d8b060fb66be5f1c6940a778e3dfa5bbf9d1
4
+ data.tar.gz: 9b8cf933f00544fea3fb7cbb8961afcf5ec9fea099bf3efcb329d6f88386c388
5
5
  SHA512:
6
- metadata.gz: ce74d26e92c167569c542742d41d5e010e7ce877776d0c476fff82a0c4c69894438389b4577e5517c883bccb5dedf9c4429163abad2e785ba61d1b9628f3188d
7
- data.tar.gz: 05a10d8b203c7e2c1aa55f2c1de219b192e55e3f6427aee0ee4c8067eb50d35d681c66d30e1a5590c81f8be3ac16a7b7fff9228085794c539c3528739481337c
6
+ metadata.gz: fd546f8b6ce3f8a0d431974d84638102b2196ff7b9f9e91045fedfaad285546eb20f6e8e458c8988bd837d7fb9605ea99dbb83c45b6064b94b8c8ae653de9728
7
+ data.tar.gz: 206ac13a27ed35a22e9ef8e94bbe1b659a71f3dc0555b213d834c05098f63b50d4368dc822ed8af24e8814a80de92a81db5e3c4f8388e17b336df111f37ff714
@@ -17,6 +17,7 @@ module Decidim
17
17
  .includes(component: :participatory_space)
18
18
  .where(component: meeting_components)
19
19
  .visible_meeting_for(current_user)
20
+ .published
20
21
  .where("end_time >= ?", Time.current)
21
22
  .except_withdrawn
22
23
  .not_hidden
@@ -24,7 +24,7 @@ module Decidim
24
24
  end
25
25
 
26
26
  def resource_path
27
- resource_locator(model).path(filter_link_params)
27
+ resource_locator(model).path
28
28
  end
29
29
 
30
30
  def title
@@ -28,7 +28,7 @@ module Decidim
28
28
  end
29
29
 
30
30
  def description
31
- present(model).description(strip_tags: true)
31
+ present(model).description(strip_tags: true).truncate(120, separator: /\s/)
32
32
  end
33
33
 
34
34
  def badge
@@ -19,7 +19,7 @@
19
19
  <% end %>
20
20
  </div>
21
21
 
22
- <button class="button add-service"><%= t(".add_service") %></button>
22
+ <button class="button add-service" type="button"><%= t(".add_service") %></button>
23
23
  </div>
24
24
  </div>
25
25
  </div>
@@ -6,9 +6,9 @@
6
6
 
7
7
  <div class="row columns">
8
8
  <div class="title-action">
9
- <h3 id="meetings-count" class="title-action__title section-heading">
9
+ <h2 id="meetings-count" class="title-action__title section-heading">
10
10
  <%= render partial: "count" %>
11
- </h3>
11
+ </h2>
12
12
 
13
13
  <% if allowed_to?(:create, :meeting) %>
14
14
  <%= action_authorized_link_to :create, new_meeting_path, class: "title-action__action button small", data: { "redirect_url" => new_meeting_path } do %>
@@ -17,7 +17,7 @@ edit_link(
17
17
 
18
18
  <div class="row column view-header">
19
19
  <div class="m-bottom">
20
- <%= link_to meetings_path(filter_link_params), class: "small hollow" do %>
20
+ <%= link_to meetings_path, class: "small hollow js-back-to-list" do %>
21
21
  <%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %>
22
22
  <%= t(".back") %>
23
23
  <% end %>
@@ -72,6 +72,10 @@ ar:
72
72
  other: التسجيلات
73
73
  decidim:
74
74
  admin:
75
+ filters:
76
+ meetings:
77
+ category_id_eq:
78
+ label: الفئة
75
79
  meeting_copies:
76
80
  create:
77
81
  error: كانت هناك مشكلة في تكرار هذا الاجتماع.
@@ -299,6 +303,9 @@ ar:
299
303
  value_types:
300
304
  organizer_presenter:
301
305
  not_found: 'لم يتم العثور على المنظم في قاعدة البيانات (المعرف: %{id})'
306
+ application_helper:
307
+ filter_category_values:
308
+ all: الكل
302
309
  calendar_modal:
303
310
  calendar_url: العنوان الشبكي للتقويم
304
311
  close_window: أغلق النافذة
@@ -333,6 +340,8 @@ ar:
333
340
  filter: منقي
334
341
  filter_by: مصنف بواسطة
335
342
  unfold: كشف
343
+ form:
344
+ select_a_category: يُرجى اختيار فئة
336
345
  meeting_minutes:
337
346
  related_information: معلومات ذات صله
338
347
  meetings:
@@ -380,6 +389,10 @@ ar:
380
389
  map: خريطة
381
390
  start_time: تاريخ البدء
382
391
  title: عنوان
392
+ polls:
393
+ questions:
394
+ index_admin:
395
+ results: النتائج
383
396
  read_more: "(قراءة المزيد)"
384
397
  registration_mailer:
385
398
  confirmation:
@@ -10,7 +10,7 @@ ja:
10
10
  attending_organizations: 参加した組織一覧
11
11
  audio_url: 音声URL
12
12
  closing_report: 議事録
13
- closing_visible: 非表示にする
13
+ closing_visible: 表示する
14
14
  contributions_count: 貢献数
15
15
  proposal_ids: ミーティングで作成された提案
16
16
  video_url: 動画URL
@@ -5,7 +5,7 @@ module Decidim
5
5
  # This interface represents all linked resources available in the module meetings
6
6
  module LinkedResourcesInterface
7
7
  include Decidim::Api::Types::BaseInterface
8
- graphql_name "MeetinsLinkedResourcewInterface"
8
+ graphql_name "MeetingsLinkedResourcesInterface"
9
9
  description "An interface that can be used with Resourceable models."
10
10
 
11
11
  if Decidim::Meetings.enable_proposal_linking
@@ -11,7 +11,7 @@ module Decidim
11
11
  implements Decidim::Core::AttachableInterface
12
12
  implements Decidim::Core::TimestampsInterface
13
13
  implements Decidim::Meetings::ServicesInterface
14
- implements Decidim::Meetings::LinkedResourcesInterface
14
+ implements Decidim::Meetings::LinkedResourcesInterface if Decidim::Meetings.enable_proposal_linking
15
15
  implements Decidim::Forms::QuestionnaireEntityInterface
16
16
 
17
17
  field :id, GraphQL::Types::ID, "ID of this meeting", null: false
@@ -42,7 +42,6 @@ Decidim.register_component(:meetings) do |component|
42
42
  component.exports :meetings do |exports|
43
43
  exports.collection do |component_instance|
44
44
  Decidim::Meetings::Meeting
45
- .published
46
45
  .not_hidden
47
46
  .visible
48
47
  .where(component: component_instance)
@@ -45,7 +45,8 @@ module Decidim
45
45
  followers: meeting.follows.size,
46
46
  url: url,
47
47
  related_proposals: related_proposals,
48
- related_results: related_results
48
+ related_results: related_results,
49
+ published: meeting.published_at.present?
49
50
  }
50
51
  end
51
52
 
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-meetings version.
5
5
  module Meetings
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-meetings
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,28 +18,28 @@ 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-forms
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: :runtime
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: icalendar
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -60,56 +60,56 @@ dependencies:
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
  - !ruby/object:Gem::Dependency
72
72
  name: decidim-assemblies
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.26.0
77
+ version: 0.26.1
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.26.0
84
+ version: 0.26.1
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: decidim-dev
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.26.0
91
+ version: 0.26.1
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.26.0
98
+ version: 0.26.1
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: decidim-participatory_processes
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.26.0
105
+ version: 0.26.1
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.26.0
112
+ version: 0.26.1
113
113
  description: A meetings component for decidim's participatory spaces.
114
114
  email:
115
115
  - josepjaume@gmail.com