promethee 1.4.7 → 1.4.8
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/components/aside/_edit.define.html.erb +4 -1
- data/app/views/promethee/components/aside/_edit.inspect.html.erb +9 -1
- data/app/views/promethee/components/aside/_edit.move.html.erb +7 -9
- data/app/views/promethee/components/cover/_show.html.erb +12 -5
- 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: 3b4d5a99e5945b1212e0fd1f31620a9d218472ea
|
|
4
|
+
data.tar.gz: 79e6b13c3e2400f8c79699cc118089ec2af4ed2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb4cbd835e2742a6272932b8c0da17cc05465db64ba48c46a1c73475a556b68c4b09bc3eca518d080d3510465418256078005763dcec5f16d9b0d0d11ce4d1fd
|
|
7
|
+
data.tar.gz: 5d1167f496414344cfd1e6be188e56faf8004f0facf382362031c32cb4ae53c44998fcd4e3cb979ffab06987655a043fdd9c040bf76b4e3654d129b04642a256
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
<script type="text/ng-template" id="promethee/components/aside/edit/inspect">
|
|
2
|
-
|
|
2
|
+
<div class="form-group">
|
|
3
|
+
<label class="label-control">Visible content</label>
|
|
4
|
+
<summernote config="summernoteConfig" ng-model="promethee.inspected.attributes.visible_content"></summernote>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div class="form-group">
|
|
8
|
+
<label class="label-control">Collapsed content</label>
|
|
9
|
+
<summernote config="summernoteConfig" ng-model="promethee.inspected.attributes.collapsed_content"></summernote>
|
|
10
|
+
</div>
|
|
3
11
|
</script>
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
<script type="text/ng-template" id="promethee/components/aside/edit/move">
|
|
2
2
|
<%= render 'promethee/edit/move.header', type: 'aside' %>
|
|
3
|
-
<ng-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
>
|
|
11
|
-
</div>
|
|
3
|
+
<aside ng-if="component.attributes.collapsed_content">
|
|
4
|
+
{{component.attributes.visible_content | htmlSafe}}
|
|
5
|
+
<div ng-hide="collapsed" ng-bind-html="component.attributes.collapsed_content | htmlSafe"></div>
|
|
6
|
+
<a data-toggle="collapse" href="#aside-collapse-{{component.id}}">{/a>
|
|
7
|
+
</aside>
|
|
8
|
+
|
|
9
|
+
<aside ng-if="!component.attributes.collapsed_content" ng-bind-html="component.attributes.visible_content"></aside>
|
|
12
10
|
</div>
|
|
13
11
|
</div>
|
|
14
12
|
</script>
|
|
@@ -9,9 +9,16 @@ title = component[:attributes][:title].to_s
|
|
|
9
9
|
subtitle = component[:attributes][:subtitle].to_s
|
|
10
10
|
%>
|
|
11
11
|
<div class="<%= promethee_class_for(component) %>" style="background-image: url(<%= url_for(blob.variant(resize: '1920')) if blob %>)">
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
<% if surtitle.present? %>
|
|
13
|
+
<p><%= surtitle %></p>
|
|
14
|
+
<% end %>
|
|
15
|
+
|
|
16
|
+
<% if title.present? %>
|
|
17
|
+
<h1><%= title %></h1>
|
|
18
|
+
<% end %>
|
|
19
|
+
|
|
20
|
+
<% if subtitle.present? %>
|
|
21
|
+
<p><%= subtitle %></p>
|
|
22
|
+
<% end %>
|
|
23
|
+
|
|
17
24
|
</div>
|
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.4.
|
|
4
|
+
version: 1.4.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julien Dargelos
|
|
@@ -341,7 +341,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
341
341
|
version: '0'
|
|
342
342
|
requirements: []
|
|
343
343
|
rubyforge_project:
|
|
344
|
-
rubygems_version: 2.6.
|
|
344
|
+
rubygems_version: 2.6.12
|
|
345
345
|
signing_key:
|
|
346
346
|
specification_version: 4
|
|
347
347
|
summary: Bring fire to your page
|