decidim-meetings 0.15.0 → 0.15.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: b804ad17a1daa6813bec7232c59b68a474de79aa9b4e1f43d3b0f866a6a55baa
4
- data.tar.gz: 823b27f1efe76f2f3a1a338b9025f42d665e45e138af4ee632207f702a8674eb
3
+ metadata.gz: 6d0a66ddab24068864d96b71dfbc4f63d3d0705d78a6beda9784bd7582250d5a
4
+ data.tar.gz: 2d7b223f2c1f6a588ebf20dcd4ec170ef8439c7fa66bfb75e882e0df4304a6af
5
5
  SHA512:
6
- metadata.gz: 13f77daa93bfb5283845fbf1772610f0e2d9f2064266a141fb2ebef843871381b0f64905bc8271fc523d93bfd51cd8497eb791fdfc7c324fb4827df0236684be
7
- data.tar.gz: b049db58acfd97463789254b6704dccf227abb7a8c8f65bca251906e60826baeddd8223a278e7ac988769b6eb454c876c9ded06270eb4afd7f4485474c7bfed8
6
+ metadata.gz: ec1ed023ca68c3ebe9fb7ee6ec030bae8d43feb56aada5eeb2345d6cbec477e5539ed7acaef638b1c22b18312c084fd5c88777ecc0501ddf171532e454bf1422
7
+ data.tar.gz: a20b4a1e4a10b327e104398f2045fccd15afa6c251575e9fe2c4c24df0711ac28c6c01021de7af2dceea5baf7356bad3291b7cd22ae585d429fec903deff6170
@@ -35,6 +35,18 @@ module Decidim
35
35
  renderer = Decidim::ContentRenderers::HashtagRenderer.new(translated_attribute(meeting.description))
36
36
  renderer.render.html_safe
37
37
  end
38
+
39
+ def title_with_locales
40
+ return unless meeting
41
+ renderer = Decidim::ContentRenderers::HashtagRenderer.new(meeting.title)
42
+ renderer.render_without_link
43
+ end
44
+
45
+ def description_with_locales
46
+ return unless meeting
47
+ renderer = Decidim::ContentRenderers::HashtagRenderer.new(meeting.description)
48
+ renderer.render_without_link
49
+ end
38
50
  end
39
51
  end
40
52
  end
@@ -4,11 +4,11 @@
4
4
  </div>
5
5
  <div class="card-section">
6
6
  <div class="row column hashtags__container">
7
- <%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, value: @meeting.present? ? present(@meeting).title : "" %>
7
+ <%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, value: @meeting.present? ? present(@meeting).title_with_locales : "" %>
8
8
  </div>
9
9
 
10
10
  <div class="row column hashtags__container">
11
- <%= form.translated :editor, :description, class: "js-hashtags", hashtaggable: true, value: @meeting.present? ? present(@meeting).title : "" %>
11
+ <%= form.translated :editor, :description, class: "js-hashtags", hashtaggable: true, value: @meeting.present? ? present(@meeting).description_with_locales : "" %>
12
12
  </div>
13
13
 
14
14
  <div class="row column">
@@ -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.15.0"
7
+ "0.15.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.15.0
4
+ version: 0.15.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: 2018-11-12 00:00:00.000000000 Z
13
+ date: 2018-11-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cells-erb
@@ -46,14 +46,14 @@ dependencies:
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.15.0
49
+ version: 0.15.1
50
50
  type: :runtime
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.15.0
56
+ version: 0.15.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: httparty
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -130,56 +130,56 @@ dependencies:
130
130
  requirements:
131
131
  - - '='
132
132
  - !ruby/object:Gem::Version
133
- version: 0.15.0
133
+ version: 0.15.1
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - '='
139
139
  - !ruby/object:Gem::Version
140
- version: 0.15.0
140
+ version: 0.15.1
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: decidim-assemblies
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - '='
146
146
  - !ruby/object:Gem::Version
147
- version: 0.15.0
147
+ version: 0.15.1
148
148
  type: :development
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - '='
153
153
  - !ruby/object:Gem::Version
154
- version: 0.15.0
154
+ version: 0.15.1
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: decidim-dev
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
159
  - - '='
160
160
  - !ruby/object:Gem::Version
161
- version: 0.15.0
161
+ version: 0.15.1
162
162
  type: :development
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - '='
167
167
  - !ruby/object:Gem::Version
168
- version: 0.15.0
168
+ version: 0.15.1
169
169
  - !ruby/object:Gem::Dependency
170
170
  name: decidim-participatory_processes
171
171
  requirement: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - '='
174
174
  - !ruby/object:Gem::Version
175
- version: 0.15.0
175
+ version: 0.15.1
176
176
  type: :development
177
177
  prerelease: false
178
178
  version_requirements: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - '='
181
181
  - !ruby/object:Gem::Version
182
- version: 0.15.0
182
+ version: 0.15.1
183
183
  description: A meetings component for decidim's participatory spaces.
184
184
  email:
185
185
  - josepjaume@gmail.com