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 +4 -4
- data/app/views/promethee/_localize.html.erb +4 -0
- data/app/views/promethee/components/image/_localize.html.erb +7 -5
- data/app/views/promethee/components/page/_edit.inspect.html.erb +1 -1
- data/app/views/promethee/components/page/_localize.html.erb +9 -7
- data/app/views/promethee/components/text/_localize.html.erb +1 -3
- data/lib/promethee/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6cba4b8fa6489c5a592da1f5cbd2ebe9bdb0dbb4
|
|
4
|
+
data.tar.gz: 48895b49849938f46af4f605cac3aa1721f63147
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
<
|
|
7
|
-
<
|
|
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>
|
|
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
|
-
<
|
|
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>
|
|
5
|
-
<
|
|
6
|
-
<
|
|
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>
|
|
10
|
-
<input ng-model="component.attributes.title" type="text" class="form-control">
|
|
11
|
-
<
|
|
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>
|
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.
|
|
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-
|
|
16
|
+
date: 2018-04-19 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: rails
|