ecm_videos 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3cb05eb0a9cca8dd93f461415abb5c651c10097
4
- data.tar.gz: ce691af323597514e4f59d7721f27595c96c8ffd
3
+ metadata.gz: d6c4081bf347ee82895aedde5921b028bab8c251
4
+ data.tar.gz: 5c8274021695a40afe3e2c4c56ae543028d6ef93
5
5
  SHA512:
6
- metadata.gz: b9eeaee4a1bf69870923c9c828b557de76fc1a5127d1e25d9bcae70c93e369a2083922c9557e15d08aaeca5eaad92960050220eb75643c18fef4a206c95e8214
7
- data.tar.gz: fea6e3595c47816b3b9d66e874445ad6662276731a2b1bc13b22ccbb9453750405c96d0d142717acbd18988a4b2e87c86937c4e5a16ed37e24376e82ebcc74c7
6
+ metadata.gz: 4e1f4345dbf66d26b0abfeb69aa85686e653b71660276bad7e941739c9b55537aeef045df63b7e42223a330136f68d696b15d4929aa3fde53d50b721cfe4ae46
7
+ data.tar.gz: 340e1a594c5c24ea90fa1e3e66f046fecf76b2c2a9e762b9f0dd5dd8cce7cf83dca6a49ba2754d67491c98f137ca0ac797da3cf059eb00390ad9d6ec26475800
@@ -1,7 +1,7 @@
1
1
  %h1= t('.title', inflections)
2
2
 
3
3
  = render_collection(@collection, Ecm::Videos::Category, as: :bootstrap_media_object) do |list|
4
- = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.published_preview_image_url(:default_thumb))
4
+ = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.published_preview_image_url(:default_thumb), link_to_more_url: url_for(list.resource), media_body_content_html_options: { class: 'media-body-content.bottom-margin-1 truncate lines-3' })
5
5
 
6
6
  .well.page-actions
7
7
  = link_to(t('.back'), main_app.root_path, class: 'btn btn-default')
@@ -6,7 +6,7 @@
6
6
 
7
7
  #video-category-videos
8
8
  = render_collection(@resource.videos.published, Ecm::Videos::Video, as: :bootstrap_media_object) do |list|
9
- = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.clip.url(:default_thumb))
9
+ = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.clip.url(:default_thumb), link_to_more_url: url_for(list.resource), media_body_content_html_options: { class: 'media-body-content.bottom-margin-1 truncate lines-3' })
10
10
 
11
11
  .well.page-actions
12
12
  = link_to(t('.back'), collection_path, class: 'btn btn-default')
@@ -1,7 +1,7 @@
1
1
  %h1= t('.title', inflections)
2
2
 
3
3
  = render_collection(@collection, Ecm::Videos::Video, as: :bootstrap_media_object) do |list|
4
- = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.clip.url(:default_thumb))
4
+ = list.media_object(title_method: :name, body: list.resource.description(:html), image_url: list.resource.clip.url(:default_thumb), link_to_more_url: url_for(list.resource), media_body_content_html_options: { class: 'media-body-content.bottom-margin-1 truncate lines-3' })
5
5
 
6
6
  .well.page-actions
7
7
  = link_to(t('.back'), main_app.root_path, class: 'btn btn-default')
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Videos
3
- VERSION = '1.0.1'.freeze
3
+ VERSION = '1.0.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_videos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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: 2016-02-20 00:00:00.000000000 Z
11
+ date: 2016-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails