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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b24f7f34ff9dc21481df084aebcc109648fef3c3e44c42e3134549372e05115
|
|
4
|
+
data.tar.gz: 9842a903b3d3a1063b0981165417182d085bb8c1ada7be3af54fddf3043bf595
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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,
|
data/config/locales/models.yml
CHANGED
|
@@ -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: Блоки
|
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.
|
|
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-
|
|
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:
|