promethee 5.0.0 → 5.0.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: 0f7c17adb56cfa87b00afeb03beaa692a79b4c8fb2c2af41488bbe6cc8ccc528
4
- data.tar.gz: 4b5122c3a1162cbd235bb03f8f33026bc1c9b9b5fadd5ae85e2000f54b4a93fd
3
+ metadata.gz: 8e292e103c34c4f06ef0164ccc87dd4c41db7abfc4774fd0d901a17cf023041c
4
+ data.tar.gz: 4a087934dc16b629cfad1bcf62554a77b3fca18e4f25f2e240601b15d22cd0cd
5
5
  SHA512:
6
- metadata.gz: fa5e6880ccf1772b892545208a84a5a7f63fe9db8b9756ec3307b64c77393c61a90e11ba22b43dd7181a12dece35f31f5afa0e38c1c8a5a956339a82b7f181ea
7
- data.tar.gz: afd950034d0ffaad09423bdd7b419597e89dd8dd65088752a7ec5bf183140ca23316e0610491f5810d276f1c0202417d5fc1f02f5b815972c6f78ce8aa0009a2
6
+ metadata.gz: fbae2b2a9f5ea6ac39f6c552b2648e625cdafd61061bcf35881212723a5cc865a3363dbb76b292a8fefafeef5b98c68a856acf2a415fd344ed973eae3f74cec8
7
+ data.tar.gz: d5fb29d2b2d840a98c4a6ffca7426474e18195d390e6b5b491d5a08ad5963d181c698733039be790487ce8b6927a6f2f5d693f79060375d74fdcf686da20380f
@@ -1,12 +1,12 @@
1
1
  <script type="text/ng-template" id="promethee/components/aside/localize">
2
2
  <hr>
3
3
 
4
- <div class="row">
4
+ <div class="row js-translation-element">
5
5
  <div class="col-md-6">
6
6
  <b>Aside visible content</b>
7
- <div ng-bind-html="master.attributes.visible_content.value | htmlSafe"></div>
7
+ <div class="js-translation-source" data-type="text" ng-bind-html="master.attributes.visible_content.value | htmlSafe"></div>
8
8
  </div>
9
- <div class="col-md-6">
9
+ <div class="col-md-6 js-translation-target">
10
10
  <div class="form-group">
11
11
  <b>Aside visible content</b>
12
12
  <summernote config="summernoteConfig" ng-model="component.attributes.visible_content.value"></summernote>
@@ -14,12 +14,12 @@
14
14
  </div>
15
15
  </div>
16
16
 
17
- <div class="row" ng-show="master.attributes.collapsed_content.value || frozen_component.attributes.collapsed_content.value">
17
+ <div class="row js-translation-element" ng-show="master.attributes.collapsed_content.value || frozen_component.attributes.collapsed_content.value">
18
18
  <div class="col-md-6">
19
19
  <b>Aside collapsed content</b>
20
- <div ng-bind-html="master.attributes.collapsed_content.value | htmlSafe"></div>
20
+ <div class="js-translation-source" data-type="text" ng-bind-html="master.attributes.collapsed_content.value | htmlSafe"></div>
21
21
  </div>
22
- <div class="col-md-6">
22
+ <div class="col-md-6 js-translation-target">
23
23
  <div class="form-group">
24
24
  <b>Aside collapsed content</b>
25
25
  <summernote config="summernoteConfig" ng-model="component.attributes.collapsed_content.value"></summernote>
@@ -27,12 +27,12 @@
27
27
  </div>
28
28
  </div>
29
29
 
30
- <div class="row" ng-show="master.attributes.open_label.value || frozen_component.attributes.open_label.value">
30
+ <div class="row js-translation-element" ng-show="master.attributes.open_label.value || frozen_component.attributes.open_label.value">
31
31
  <div class="col-md-6">
32
32
  <b>Button label</b>
33
- <div ng-bind-html="master.attributes.open_label.value | htmlSafe"></div>
33
+ <div class="js-translation-source" data-type="string" ng-bind-html="master.attributes.open_label.value | htmlSafe"></div>
34
34
  </div>
35
- <div class="col-md-6">
35
+ <div class="col-md-6 js-translation-target">
36
36
  <div class="form-group">
37
37
  <b>Button label</b>
38
38
  <input class="form-control" ng-model="component.attributes.open_label.value" type="text">
@@ -1,12 +1,12 @@
1
1
  <script type="text/ng-template" id="promethee/components/blockquote/localize">
2
2
  <div ng-show="master.attributes.body.value || frozen_component.attributes.body.value">
3
3
  <hr>
4
- <div class="row">
4
+ <div class="row js-translation-element">
5
5
  <div class="col-md-6">
6
6
  <b>Body</b>
7
- <div ng-bind-html="master.attributes.body.value | htmlSafe"></div>
7
+ <div class="js-translation-source" data-type="text" ng-bind-html="master.attributes.body.value | htmlSafe"></div>
8
8
  </div>
9
- <div class="col-md-6">
9
+ <div class="col-md-6 js-translation-target">
10
10
  <div class="form-group">
11
11
  <b>Body</b>
12
12
  <summernote config="summernoteConfig" ng-model="component.attributes.body.value"></summernote>
@@ -15,12 +15,12 @@
15
15
  </div>
16
16
  </div>
17
17
 
18
- <div class="row" ng-show="master.attributes.author.value || frozen_component.attributes.author.value">
18
+ <div class="row js-translation-element" ng-show="master.attributes.author.value || frozen_component.attributes.author.value">
19
19
  <div class="col-md-6">
20
20
  <b>Author</b>
21
- <p>{{master.attributes.author.value}}</p>
21
+ <p class="js-translation-source" data-type="string">{{master.attributes.author.value}}</p>
22
22
  </div>
23
- <div class="col-md-6">
23
+ <div class="col-md-6 js-translation-target">
24
24
  <div class="form-group">
25
25
  <b>Author</b>
26
26
  <input class="form-control" ng-model="component.attributes.author.value" type="text">
@@ -2,23 +2,23 @@
2
2
  <div ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value || master.attributes.media_type.value == 'video'">
3
3
  <hr>
4
4
 
5
- <div class="row" ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value">
5
+ <div class="row js-translation-element" ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value">
6
6
  <div class="col-md-6">
7
7
  <b>Collection Item Caption</b>
8
- <div class="promethee-edit__wrapper" ng-bind-html="master.attributes.caption.value | htmlSafe"></div>
8
+ <div class="promethee-edit__wrapper js-translation-source" data-type="text" ng-bind-html="master.attributes.caption.value | htmlSafe"></div>
9
9
  </div>
10
- <div class="col-md-6">
10
+ <div class="col-md-6 js-translation-target">
11
11
  <b>Collection Item Caption</b>
12
12
  <summernote config="summernoteConfig" ng-model="component.attributes.caption.value"></summernote>
13
13
  </div>
14
14
  </div>
15
15
 
16
- <div class="row" ng-show="master.attributes.media_type.value == 'video'">
16
+ <div class="row js-translation-element" ng-show="master.attributes.media_type.value == 'video'">
17
17
  <div class="col-md-6">
18
18
  <b>Video URL</b>
19
- <div ng-bind-html="master.attributes.video.value | htmlSafe"></div>
19
+ <div class="js-translation-source" data-type="string" ng-bind-html="master.attributes.video.value | htmlSafe"></div>
20
20
  </div>
21
- <div class="col-md-6">
21
+ <div class="col-md-6 js-translation-target">
22
22
  <b>Video URL</b>
23
23
  <input class="form-control" ng-model="component.attributes.video.value" type="text">
24
24
  </div>
@@ -8,12 +8,12 @@
8
8
  </div>
9
9
  </div>
10
10
 
11
- <div class="row" ng-show="master.attributes.surtitle.value || frozen_component.attributes.surtitle.value">
11
+ <div class="row js-translation-element" ng-show="master.attributes.surtitle.value || frozen_component.attributes.surtitle.value">
12
12
  <div class="col-md-6">
13
13
  <b>Surtitle</b>
14
- <p>{{master.attributes.surtitle.value}}</p>
14
+ <p class="js-translation-source" data-type="string">{{master.attributes.surtitle.value}}</p>
15
15
  </div>
16
- <div class="col-md-6">
16
+ <div class="col-md-6 js-translation-target">
17
17
  <div class="form-group">
18
18
  <b>Surtitle</b>
19
19
  <input class="form-control" ng-model="component.attributes.surtitle.value" type="text">
@@ -21,12 +21,12 @@
21
21
  </div>
22
22
  </div>
23
23
 
24
- <div class="row" ng-show="master.attributes.title.value || frozen_component.attributes.title.value">
24
+ <div class="row js-translation-element" ng-show="master.attributes.title.value || frozen_component.attributes.title.value">
25
25
  <div class="col-md-6">
26
26
  <b>Title</b>
27
- <p>{{master.attributes.title.value}}</p>
27
+ <p class="js-translation-source" data-type="string">{{master.attributes.title.value}}</p>
28
28
  </div>
29
- <div class="col-md-6">
29
+ <div class="col-md-6 js-translation-target">
30
30
  <div class="form-group">
31
31
  <b>Title</b>
32
32
  <input class="form-control" ng-model="component.attributes.title.value" type="text">
@@ -34,12 +34,12 @@
34
34
  </div>
35
35
  </div>
36
36
 
37
- <div class="row" ng-show="master.attributes.subtitle.value || frozen_component.attributes.subtitle.value">
37
+ <div class="row js-translation-element" ng-show="master.attributes.subtitle.value || frozen_component.attributes.subtitle.value">
38
38
  <div class="col-md-6">
39
39
  <b>Subtitle</b>
40
- <p>{{master.attributes.subtitle.value}}</p>
40
+ <p class="js-translation-source" data-type="string">{{master.attributes.subtitle.value}}</p>
41
41
  </div>
42
- <div class="col-md-6">
42
+ <div class="col-md-6 js-translation-target">
43
43
  <div class="form-group">
44
44
  <b>Subtitle</b>
45
45
  <input class="form-control" ng-model="component.attributes.subtitle.value" type="text">
@@ -1,24 +1,24 @@
1
1
  <script type="text/ng-template" id="promethee/components/faq_item/localize">
2
2
  <div ng-show="master.attributes.title.value || frozen_component.attributes.title.value">
3
3
  <hr>
4
- <div class="row">
4
+ <div class="row js-translation-element">
5
5
  <div class="col-md-6">
6
6
  <b>Title</b>
7
- <p>{{master.attributes.title.value}}</p>
7
+ <p class="js-translation-source" data-type="string">{{master.attributes.title.value}}</p>
8
8
  </div>
9
- <div class="col-md-6">
9
+ <div class="col-md-6 js-translation-target">
10
10
  <div class="form-group">
11
11
  <b>Title</b>
12
12
  <input class="form-control" ng-model="component.attributes.title.value" type="text">
13
13
  </div>
14
14
  </div>
15
15
  </div>
16
- <div class="row">
16
+ <div class="row js-translation-element">
17
17
  <div class="col-md-6">
18
18
  <b>Body</b>
19
- <div ng-bind-html="master.attributes.body.value | htmlSafe"></div>
19
+ <div class="js-translation-source" data-type="text" ng-bind-html="master.attributes.body.value | htmlSafe"></div>
20
20
  </div>
21
- <div class="col-md-6">
21
+ <div class="col-md-6 js-translation-target">
22
22
  <div class="form-group">
23
23
  <b>Body</b>
24
24
  <summernote config="summernoteConfig" ng-model="component.attributes.body.value"></summernote>
@@ -11,12 +11,12 @@
11
11
  </div>
12
12
  </div>
13
13
 
14
- <div class="row" ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value">
14
+ <div class="row js-translation-element" ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value">
15
15
  <div class="col-md-6">
16
16
  <b>Caption</b>
17
- <p>{{master.attributes.caption.value}}</p>
17
+ <p class="js-translation-source" data-type="string">{{master.attributes.caption.value}}</p>
18
18
  </div>
19
- <div class="col-md-6">
19
+ <div class="col-md-6 js-translation-target">
20
20
  <div class="form-group">
21
21
  <b>Caption</b>
22
22
  <input class="form-control" ng-model="component.attributes.caption.value" type="text">
@@ -25,12 +25,12 @@
25
25
  </div>
26
26
  </div>
27
27
 
28
- <div class="row" ng-show="master.attributes.alt.value || frozen_component.attributes.alt.value">
28
+ <div class="row js-translation-element" ng-show="master.attributes.alt.value || frozen_component.attributes.alt.value">
29
29
  <div class="col-md-6">
30
30
  <b>Alt</b>
31
- <p>{{master.attributes.alt.value}}</p>
31
+ <p class="js-translation-source" data-type="string">{{master.attributes.alt.value}}</p>
32
32
  </div>
33
- <div class="col-md-6">
33
+ <div class="col-md-6 js-translation-target">
34
34
  <div class="form-group">
35
35
  <b>Alt</b>
36
36
  <input class="form-control" ng-model="component.attributes.alt.value" type="text">
@@ -38,12 +38,12 @@
38
38
  </div>
39
39
  </div>
40
40
 
41
- <div class="row" ng-show="master.attributes.title.value || frozen_component.attributes.title.value">
41
+ <div class="row js-translation-element" ng-show="master.attributes.title.value || frozen_component.attributes.title.value">
42
42
  <div class="col-md-6">
43
43
  <b>Title</b>
44
- <p>{{master.attributes.title.value}}</p>
44
+ <p class="js-translation-source" data-type="string">{{master.attributes.title.value}}</p>
45
45
  </div>
46
- <div class="col-md-6">
46
+ <div class="col-md-6 js-translation-target">
47
47
  <div class="form-group">
48
48
  <b>Title</b>
49
49
  <input class="form-control" ng-model="component.attributes.title.value" type="text">
@@ -2,12 +2,12 @@
2
2
  <% unless @disable_page_attributes %>
3
3
  <hr>
4
4
 
5
- <div class="row">
5
+ <div class="row js-translation-element">
6
6
  <div class="col-md-6">
7
7
  <b>Page title</b>
8
- <p>{{master.attributes.title.value}}</p><br>
8
+ <p class="js-translation-source" data-type="string">{{master.attributes.title.value}}</p><br>
9
9
  </div>
10
- <div class="col-md-6">
10
+ <div class="col-md-6 js-translation-target">
11
11
  <div class="form-group">
12
12
  <b>Page title</b>
13
13
  <input class="form-control" ng-model="component.attributes.title.value" type="text">
@@ -15,14 +15,14 @@
15
15
  </div>
16
16
  </div>
17
17
 
18
- <div class="row" ng-show="master.attributes.description.value || frozen_component.attributes.description.value">
18
+ <div class="row js-translation-element" ng-show="master.attributes.description.value || frozen_component.attributes.description.value">
19
19
  <div class="col-md-6">
20
20
  <div>
21
21
  <b>Page description</b>
22
- <p>{{master.attributes.description.value}}</p>
22
+ <p class="js-translation-source" data-type="text">{{master.attributes.description.value}}</p>
23
23
  </div>
24
24
  </div>
25
- <div class="col-md-6">
25
+ <div class="col-md-6 js-translation-target">
26
26
  <div class="form-group">
27
27
  <b>Page description</b>
28
28
  <textarea class="form-control" rows="6" ng-model="component.attributes.description.value"></textarea>
@@ -2,23 +2,23 @@
2
2
  <div ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value || master.attributes.media_type.value == 'video'">
3
3
  <hr>
4
4
 
5
- <div class="row" ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value">
5
+ <div class="row js-translation-element" ng-show="master.attributes.caption.value || frozen_component.attributes.caption.value">
6
6
  <div class="col-md-6">
7
7
  <b>Slider Item Caption</b>
8
- <div class="promethee-edit__wrapper" ng-bind-html="master.attributes.caption.value | htmlSafe"></div>
8
+ <div class="promethee-edit__wrapper js-translation-source" data-type="text" ng-bind-html="master.attributes.caption.value | htmlSafe"></div>
9
9
  </div>
10
- <div class="col-md-6">
10
+ <div class="col-md-6 js-translation-target">
11
11
  <b>Slider Item Caption</b>
12
12
  <summernote config="summernoteConfig" ng-model="component.attributes.caption.value"></summernote>
13
13
  </div>
14
14
  </div>
15
15
 
16
- <div class="row" ng-show="master.attributes.media_type.value == 'video'">
16
+ <div class="row js-translation-element" ng-show="master.attributes.media_type.value == 'video'">
17
17
  <div class="col-md-6">
18
18
  <b>Video URL</b>
19
- <div ng-bind-html="master.attributes.video.value | htmlSafe"></div>
19
+ <div class="js-translation-source" data-type="string" ng-bind-html="master.attributes.video.value | htmlSafe"></div>
20
20
  </div>
21
- <div class="col-md-6">
21
+ <div class="col-md-6 js-translation-target">
22
22
  <b>Video URL</b>
23
23
  <input class="form-control" ng-model="component.attributes.video.value" type="text">
24
24
  </div>
@@ -1,10 +1,10 @@
1
1
  <script type="text/ng-template" id="promethee/components/table_cell/localize">
2
- <div class="row mt-2" ng-show="master.attributes.text.value || frozen_component.attributes.text.value">
2
+ <div class="row mt-2 js-translation-element" ng-show="master.attributes.text.value || frozen_component.attributes.text.value">
3
3
  <div class="col-md-6">
4
4
  <b>Text</b>
5
- <div ng-bind-html="master.attributes.text.value | htmlSafe"></div>
5
+ <div class="js-translation-source" data-type="text" ng-bind-html="master.attributes.text.value | htmlSafe"></div>
6
6
  </div>
7
- <div class="col-md-6">
7
+ <div class="col-md-6 js-translation-target">
8
8
  <b>Text</b>
9
9
  <summernote config="summernoteConfig" ng-model="component.attributes.text.value"></summernote>
10
10
  </div>
@@ -1,12 +1,12 @@
1
1
  <script type="text/ng-template" id="promethee/components/text/localize">
2
2
  <div ng-show="master.attributes.body.value || frozen_component.attributes.body.value">
3
3
  <hr>
4
- <div class="row">
4
+ <div class="row js-translation-element">
5
5
  <div class="col-md-6">
6
6
  <b>Text</b>
7
- <div ng-bind-html="master.attributes.body.value | htmlSafe"></div>
7
+ <div class="js-translation-source" data-type="text" ng-bind-html="master.attributes.body.value | htmlSafe"></div>
8
8
  </div>
9
- <div class="col-md-6">
9
+ <div class="col-md-6 js-translation-target">
10
10
  <b>Text</b>
11
11
  <summernote config="summernoteConfig" ng-model="component.attributes.body.value"></summernote>
12
12
  </div>
@@ -1,12 +1,12 @@
1
1
  <script type="text/ng-template" id="promethee/components/video/localize">
2
2
  <div ng-show="master.attributes.url.value || frozen_component.attributes.url.value">
3
3
  <hr>
4
- <div class="row">
4
+ <div class="row js-translation-element">
5
5
  <div class="col-md-6">
6
6
  <b>URL</b>
7
- <div ng-bind-html="master.attributes.url.value | htmlSafe"></div>
7
+ <div class="js-translation-source" data-type="string" ng-bind-html="master.attributes.url.value | htmlSafe"></div>
8
8
  </div>
9
- <div class="col-md-6">
9
+ <div class="col-md-6 js-translation-target">
10
10
  <div class="form-group">
11
11
  <b>URL</b>
12
12
  <input class="form-control" ng-model="component.attributes.url.value" type="text">
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '5.0.0'
3
+ VERSION = '5.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
@@ -11,10 +11,10 @@ authors:
11
11
  - Antoine Prévost
12
12
  - Alexis Rousseau
13
13
  - Steven Ing
14
- autorequire:
14
+ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2021-02-26 00:00:00.000000000 Z
17
+ date: 2023-12-14 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -162,7 +162,7 @@ dependencies:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
- description:
165
+ description:
166
166
  email:
167
167
  - sebastien.gaya@gmail.com
168
168
  - julien.dargelos@me.com
@@ -504,8 +504,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
504
504
  - !ruby/object:Gem::Version
505
505
  version: '0'
506
506
  requirements: []
507
- rubygems_version: 3.1.4
508
- signing_key:
507
+ rubygems_version: 3.4.22
508
+ signing_key:
509
509
  specification_version: 4
510
510
  summary: Bring fire to your page
511
511
  test_files: []