tramway-landing 1.8.2.8 → 1.8.3

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
  SHA256:
3
- metadata.gz: 00cb71c6990ccbfdc3696f34d66205f499c9b5d0e4570daf7a670393201d66e3
4
- data.tar.gz: 2bd1ba69ba215b9ff96922e44ba89f5baf1ef0f417872e9007a6c9dc75b28b70
3
+ metadata.gz: 3b24f7f34ff9dc21481df084aebcc109648fef3c3e44c42e3134549372e05115
4
+ data.tar.gz: 9842a903b3d3a1063b0981165417182d085bb8c1ada7be3af54fddf3043bf595
5
5
  SHA512:
6
- metadata.gz: 05bf58a8bf2549f86b01c08f3f8c1fff56beb37f94fc15f9cd8b62faa4a12889a057996eec0e4e599d768e5d87c3e5602138a1fca7014a3b710b7383f1e252d6
7
- data.tar.gz: e333abfa5e492ae73658921f94db0257e3396d0db4a62982087b6f4f6dc830d54c8fd6b6498446f5178ce880c758eebd3551ee90f4d27c4816a5a962e1012826
6
+ metadata.gz: dccc70aec3c0a1c46b40184cd309f7fa3dc6526cfc99d85828e824c525cb4954fbbbde6c57cb56c41611646338de0d935fe5fb5c3dad9182744054186a852ec9
7
+ data.tar.gz: f16d35b170fa33658ff33b6fefbdc2b5bc6d6b8fa581ce921b551cd7e0523c5122e1735f3852ecd0baf2003a3bc95fdc3ba4819e147658feb322eebcbd4e8013
@@ -6,7 +6,7 @@ $(document).ready ->
6
6
  anchor = $(this).data('anchor')
7
7
  $(window).scrollTop $(anchor).offset().top
8
8
 
9
- iframe_selectors_for_video = ['iframe[src*="vk.com"]', 'iframe[src*="youtu.be"]']
9
+ iframe_selectors_for_video = ['iframe[src*="vk.com"]', 'iframe[src*="youtu.be"]', 'iframe[src*="youtube.com"]']
10
10
  for selector in iframe_selectors_for_video
11
11
  $(selector).each ->
12
12
  width = $(this).parents('div').first().width()
@@ -12,7 +12,7 @@ class Tramway::Landing::BlockForm < ::Tramway::Core::ExtendedApplicationForm
12
12
  type: :numeric,
13
13
  input_options: {
14
14
  hint: I18n.t('hints.tramway.landing.block.position', array: ::Tramway::Landing::Block.active.on_main_page.map(&:position).join(','))
15
- },
15
+ }
16
16
  },
17
17
  block_type: :default,
18
18
  navbar_link: :default,
@@ -4,6 +4,7 @@ ru:
4
4
  tramway/landing/block: Блок
5
5
  attributes:
6
6
  tramway/landing/block:
7
+ name: Название
7
8
  title: Название
8
9
  background: Изображение
9
10
  position: Позиция на странице
@@ -17,6 +18,7 @@ ru:
17
18
  button_title: Наименование кнопки (только для Типа блока "Свободный блок с кнопкой")
18
19
  button_link: Ссылка кнопки (только для Типа блока "Свободный блок с кнопкой")
19
20
  view_name: Название вьюхи
21
+ button: Наименование кнопки
20
22
  cases:
21
23
  tramway/landing/block:
22
24
  plural: Блоки
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '1.8.2.8'
5
+ VERSION = '1.8.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2.8
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-13 00:00:00.000000000 Z
11
+ date: 2020-01-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email: