promethee 1.6.6 → 1.6.7
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/_show.html.erb +13 -10
- 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: 5f5b74b557d9456eb487fcdbd2a75a0a175a321c
|
|
4
|
+
data.tar.gz: b3d15d87116acce60413e6d58ba84415a9c904d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72764bb74eb515aafd2715abe7cac139ed308440e6e3d546e2e0db293dd78937817a1582ff60b6810de1c00ae71d60f3bb5b06e8b1cd4a614a704974877c13c0
|
|
7
|
+
data.tar.gz: 5fa7e7f8da249f7042db883e2fbdde5d221291d3c58e082cd87fc6afe9351e15cdd48209774dbac36320295809a653576922382da464c01dd7a235206048c8fb
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
<%
|
|
2
|
-
visible_content = component[:attributes][:visible_content].to_s
|
|
3
|
-
collapsed_content = component[:attributes][:collapsed_content].to_s
|
|
4
|
-
open_label = component[:attributes][:open_label].to_s
|
|
2
|
+
visible_content = component[:attributes][:visible_content].to_s
|
|
3
|
+
collapsed_content = component[:attributes][:collapsed_content].to_s
|
|
4
|
+
open_label = component[:attributes][:open_label].to_s
|
|
5
5
|
%>
|
|
6
6
|
|
|
7
|
-
<aside class="<%= promethee_class_for component %>">
|
|
7
|
+
<aside class="<%= promethee_class_for component %> aside">
|
|
8
8
|
<%= visible_content.html_safe %>
|
|
9
9
|
|
|
10
10
|
<% if collapsed_content.present? %>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
|
|
12
|
+
<div class="collapse aside__collapse" id="aside-collapse-<%= component[:id] %>">
|
|
13
|
+
<%= collapsed_content.html_safe %>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="aside__button">
|
|
17
|
+
<a href="#aside-collapse-<%= component[:id] %>" data-toggle="collapse"><%= open_label %></a>
|
|
18
|
+
</div>
|
|
17
19
|
|
|
18
20
|
<% end %>
|
|
21
|
+
|
|
19
22
|
</aside>
|
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.6.
|
|
4
|
+
version: 1.6.7
|
|
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-06-
|
|
16
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: rails
|