c80_features 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a32bd3027b1b82781565e3b2c204a5a00df992e7
|
4
|
+
data.tar.gz: f6505dd93cec622af6dd0c0aa66f360be2045248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56f8091e4a1dfbc941341694480a169fbe04fa3967482213032e0d36bea0b6f4a69deb08f9e72579fcff7d663bc84b1f2b49bf60b5cfe19f5837a6949a6737cd
|
7
|
+
data.tar.gz: 066da30d2617045bd07255ef02e42d70719899840aaf633f6b5a3dc634f2e83b2d4e1f48932dcc41bb7f131a07d4f403002b50ee5f64812bf65b4c14f53f7fff
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<% para_all.each_with_index do |paragraph,index| %>
|
2
|
-
<div id="<%= "feature_#{index}"%>">
|
3
|
-
<div class="ind"><%= index %></div>
|
2
|
+
<div id="<%= "feature_#{index+1}"%>">
|
3
|
+
<div class="ind"><%= index+1 %></div>
|
4
4
|
<% if paragraph.title.present? %>
|
5
5
|
<h3><%= paragraph.title %></h3>
|
6
6
|
<% end %>
|
7
7
|
<div class="cnt"><%= paragraph.content.html_safe %></div>
|
8
8
|
</div>
|
9
|
-
<% end %>
|
9
|
+
<% end %>
|
@@ -1,6 +1,8 @@
|
|
1
|
-
<% para_all.
|
2
|
-
<div style="background: transparent url(<%= image_path(paragraph.image.thumb_fill.url) %>) no-repeat 50% 0;">
|
3
|
-
|
4
|
-
|
1
|
+
<% para_all.each_with_index do |paragraph,index| %>
|
2
|
+
<div id="<%= "feature_#{index+1}"%>" style="background: transparent url(<%= image_path(paragraph.image.thumb_fill.url) %>) no-repeat 50% 0;">
|
3
|
+
<% if paragraph.title.present? %>
|
4
|
+
<h3><%= paragraph.title %></h3>
|
5
|
+
<% end %>
|
6
|
+
<div class="cnt"><%= paragraph.content.html_safe %></div>
|
5
7
|
</div>
|
6
|
-
<% end %>
|
8
|
+
<% end %>
|
data/lib/c80_features/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: c80_features
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- C80609A
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|