promethee 1.3.16 → 1.3.17

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
  SHA1:
3
- metadata.gz: 514251eeed1e10f975100b5ebc9612da1c13f7d5
4
- data.tar.gz: 4dce6c3fe6e9d3a050e41a2f1389e3bed44d9f99
3
+ metadata.gz: 6cba4b8fa6489c5a592da1f5cbd2ebe9bdb0dbb4
4
+ data.tar.gz: 48895b49849938f46af4f605cac3aa1721f63147
5
5
  SHA512:
6
- metadata.gz: 6b668dd97be17f9c56a2f919ca4e48565e297438be3d03b9b64658bcd72724748cdc826fb8b9ec9b3cf14f83c64736ba93a8d5df21d9b2883d496a2ee2625ee9
7
- data.tar.gz: 9e3b69f39262fccb7abaa6727f7e140a2de3924ff6d3c9bb1d4161328ce5f6654b2f6d8a6a24637a3aea17912681e75228744cd7107d54e126fc0f9ab0cee690
6
+ metadata.gz: 7b5cd7e6ea1b876361b845ebd2617836dba50aa4e882515d082ede42b43c044a215dba3cbbbeb1875f1cc6ada82b930d14e741bfe45b9a4688b13d7409ae01e9
7
+ data.tar.gz: 50b04925580202732a3dc5f37012240f7b16e73ef50c762527c1d4de2d3a7259fef2175e232d046a3509054453d82a74d39f6171beaf8ff239ee871c0372fa8b
@@ -48,6 +48,10 @@ promethee_data = Promethee::Data.new master_data, localization_data: localizatio
48
48
 
49
49
  <% #TODO override templates from current project %>
50
50
 
51
+ <div class="row">
52
+ <div class="col-md-6"><b>Master</b></div>
53
+ <div class="col-md-6"><b>Translation</b></div>
54
+ </div>
51
55
  <div ng-repeat="component in component.children">
52
56
  <ng-include src="'promethee/localize/component'"></ng-include>
53
57
  </div>
@@ -1,16 +1,18 @@
1
1
  <script type="text/ng-template" id="promethee/components/image/localize">
2
+ <hr>
2
3
  <div class="row">
3
4
  <div class="col-md-6">
4
- <b>Master</b>
5
5
  <img ng-src="{{component.master.attributes.src}}" class="img-responsive" />
6
- <input ng-model="component.master.attributes.alt" type="text" class="form-control" disabled/>
7
- <div class="promethee-edit__wrapper" ng-bind-html="component.master.attributes.caption | htmlSafe"></div>
6
+ <b>Alt</b>
7
+ <p>{{component.master.attributes.alt}}</p>
8
+ <b>Description</b>
9
+ <p>{{component.master.attributes.caption | htmlSafe}}</p>
8
10
  </div>
9
11
  <div class="col-md-6">
10
- <b>Local</b>
12
+ <b>Alt</b>
11
13
  <input ng-model="component.attributes.alt" type="text" class="form-control">
14
+ <b>Description</b>
12
15
  <summernote config="options" ng-model="component.attributes.caption"></summernote>
13
16
  </div>
14
17
  </div>
15
- <hr>
16
18
  </script>
@@ -6,7 +6,7 @@
6
6
 
7
7
  <div class="form-group">
8
8
  <label class="label-control">Description</label>
9
- <input class="form-control" ng-model="promethee.inspected.attributes.description">
9
+ <textarea class="form-control" ng-model="promethee.inspected.attributes.description"></textarea>
10
10
  </div>
11
11
 
12
12
  <div class="panel panel-default" ng-init="advancedConfigurationOpen = false">
@@ -1,15 +1,17 @@
1
1
  <script type="text/ng-template" id="promethee/components/page/localize">
2
+ <hr>
2
3
  <div class="row">
3
4
  <div class="col-md-6">
4
- <b>Master</b>
5
- <input ng-model="component.master.attributes.title" type="text" class="form-control" disabled/>
6
- <input ng-model="component.master.attributes.description" type="text" class="form-control" disabled/>
5
+ <b>Page title</b>
6
+ <p>{{component.master.attributes.title}}</p><br>
7
+ <b>Page description</b>
8
+ <p>{{component.master.attributes.description}}</p>
7
9
  </div>
8
10
  <div class="col-md-6">
9
- <b>Local</b>
10
- <input ng-model="component.attributes.title" type="text" class="form-control">
11
- <input ng-model="component.attributes.description" type="text" class="form-control">
11
+ <b>Page title</b>
12
+ <input ng-model="component.attributes.title" type="text" class="form-control"><br>
13
+ <b>Page description</b>
14
+ <textarea ng-model="component.attributes.description" type="text" class="form-control"></textarea>
12
15
  </div>
13
16
  </div>
14
- <hr>
15
17
  </script>
@@ -1,13 +1,11 @@
1
1
  <script type="text/ng-template" id="promethee/components/text/localize">
2
+ <hr>
2
3
  <div class="row">
3
4
  <div class="col-md-6">
4
- <b>Master</b>
5
5
  <div class="promethee-edit__wrapper" ng-bind-html="component.master.attributes.body | htmlSafe"></div>
6
6
  </div>
7
7
  <div class="col-md-6">
8
- <b>Local</b>
9
8
  <summernote config="options" ng-model="component.attributes.body"></summernote>
10
9
  </div>
11
10
  </div>
12
- <hr>
13
11
  </script>
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.3.16'
3
+ VERSION = '1.3.17'
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: 1.3.16
4
+ version: 1.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2018-04-18 00:00:00.000000000 Z
16
+ date: 2018-04-19 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails