ecm_news2 5.1.0 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/ecm/news/application/media_object_responsive.css +4 -0
- data/app/assets/stylesheets/ecm_news.css +3 -0
- data/app/views/ecm/news/_render_news_footer.haml +2 -0
- data/app/views/ecm/news/items/_item_for_render_news.haml +1 -1
- data/app/views/ecm/news/items/_item_in_list.haml +1 -1
- data/app/views/ecm/news/items/index.haml +3 -4
- data/app/views/ecm/news/items/show.haml +1 -1
- data/config/initializers/assets.rb +1 -0
- data/lib/ecm/news/version.rb +1 -1
- metadata +8 -5
- data/app/views/ecm/news/_render_news_footer.html.erb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9abc4c20ba1d6efad9dfa3b16180e69e28c047f4
|
4
|
+
data.tar.gz: 6429c32db4ff58af32263814e4d5fee1a1719d12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9a730bc25ad8130d22f967a7325ce3f9bbf40ad4ffd2391b6490ad3b80dad5087763f0236c36fd9e0037d3b003ae086516cd6ac3f7ed9cb25928ebe9b7b4971
|
7
|
+
data.tar.gz: ee49995f2685dd3489fe47747155c98d4444784cf7e98f71eecdbef06c067900cae34a5b956d0d040cc608d40eae24972907d4f58b7bd2c1f8d2bceac785ae0f
|
@@ -1,4 +1,4 @@
|
|
1
|
-
= bootstrap_responsive_media_object(image_options: { src: item.preview_picture_image_url(:media_object) }) do
|
1
|
+
= bootstrap_responsive_media_object(image_options: { src: item.preview_picture_image_url(:media_object) }, additional_div_container_classes: item.class.name.underscore.gsub('/', '-')) do
|
2
2
|
%h4= item.title
|
3
3
|
.truncate.lines-3
|
4
4
|
= mu(item, :body)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
= bootstrap_responsive_media_object(image_options: { src: item.preview_picture_image_url(:media_object) }) do
|
1
|
+
= bootstrap_responsive_media_object(image_options: { src: item.preview_picture_image_url(:media_object) }, additional_div_container_classes: item.class.name.underscore.gsub('/', '-')) do
|
2
2
|
%h4= item.title
|
3
3
|
.news-body.truncate.lines-3.bottom-margin-1
|
4
4
|
= mu(item, :body)
|
@@ -4,11 +4,10 @@
|
|
4
4
|
.col-lg-12
|
5
5
|
%h1= t('.title')
|
6
6
|
|
7
|
-
.
|
8
|
-
|
9
|
-
= render partial: 'item_in_list', locals: { item: item, index: (index + 1) }
|
7
|
+
- @items.each_with_index do |item, index|
|
8
|
+
= render partial: 'item_in_list', locals: { item: item, index: (index + 1) }
|
10
9
|
|
11
|
-
.col-lg-12
|
10
|
+
.col-lg-12.text-center
|
12
11
|
= paginate @items, theme: 'twitter-bootstrap-3'
|
13
12
|
|
14
13
|
.col-lg-12
|
@@ -0,0 +1 @@
|
|
1
|
+
Rails.application.config.assets.precompile += %w( ecm_news.css )
|
data/lib/ecm/news/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_news2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 0.6.1
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 0.6.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rails-dummy
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -314,18 +314,21 @@ files:
|
|
314
314
|
- MIT-LICENSE
|
315
315
|
- README.rdoc
|
316
316
|
- Rakefile
|
317
|
+
- app/assets/stylesheets/ecm/news/application/media_object_responsive.css
|
318
|
+
- app/assets/stylesheets/ecm_news.css
|
317
319
|
- app/controllers/ecm/news/items_controller.rb
|
318
320
|
- app/helpers/ecm/news_helper.rb
|
319
321
|
- app/helpers/markup_helper.rb
|
320
322
|
- app/models/ecm/news/item.rb
|
321
323
|
- app/policies/ecm/news/backend/engine_policy.rb
|
322
324
|
- app/policies/ecm/news/item_policy.rb
|
323
|
-
- app/views/ecm/news/_render_news_footer.
|
325
|
+
- app/views/ecm/news/_render_news_footer.haml
|
324
326
|
- app/views/ecm/news/items/_item.haml
|
325
327
|
- app/views/ecm/news/items/_item_for_render_news.haml
|
326
328
|
- app/views/ecm/news/items/_item_in_list.haml
|
327
329
|
- app/views/ecm/news/items/index.haml
|
328
330
|
- app/views/ecm/news/items/show.haml
|
331
|
+
- config/initializers/assets.rb
|
329
332
|
- config/locales/de.yml
|
330
333
|
- config/locales/en.yml
|
331
334
|
- config/routes.rb
|