tramway-landing 1.1.3 → 1.1.3.1

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: 83ffd8c63b16fff807fcaa87a1934897c3e791d893ea47e7774624b8342d5f36
4
- data.tar.gz: 4176a3752c2a28aa883b0b2d728f3334d676518164415d7df9919396952d4525
3
+ metadata.gz: d585d8617d8ba48440a0d584291a8de5955e697a99694171c3443f00d475c219
4
+ data.tar.gz: a7f0f89676041bc4d83f0dd99b1e329282e0d58b11dcc9c2ef8d796daeca592b
5
5
  SHA512:
6
- metadata.gz: cefccee1813f81ac7500e25289acb01307ac9fbb6cf7f9bbef2ed94bda5af05d5ebb5fd4602f4c84f1028b1c5ec80c225de40d0b344d1ed52690ba890bb77763
7
- data.tar.gz: 95975c5ad2b1ed240f59b7aa1239e2fe816c910df0acc2ccf65d10a6ee9a37cb9e27d1c17eb33888dd17d592eeaaffd1f667c60cd59e642a78467585762121d0
6
+ metadata.gz: cddd27cf802f23914b6145c91d366747115e2e6ffa93ac6375aabc7930d6c335edd4cb8413b90dc4fc29e4d8e5994c9098b5a90feee8a14523b32b43006557b3
7
+ data.tar.gz: afae0737e44856838f2c79b8acd768f557a5f776605a55e941e082dc6b558b984dafc4192efe44b68e66965de0f8c52dc166dca06bd894686998a51ae1512952
@@ -0,0 +1,30 @@
1
+ / Yandex.Metrika counter
2
+ :javascript
3
+ (function (d, w, c) {
4
+ (w[c] = w[c] || []).push(function() {
5
+ try {
6
+ w.yaCounter49054148 = new Ya.Metrika({
7
+ id:49054148,
8
+ clickmap:true,
9
+ trackLinks:true,
10
+ accurateTrackBounce:true,
11
+ webvisor:true
12
+ });
13
+ } catch(e) { }
14
+ });
15
+
16
+ var n = d.getElementsByTagName("script")[0],
17
+ s = d.createElement("script"),
18
+ f = function () { n.parentNode.insertBefore(s, n); };
19
+ s.type = "text/javascript";
20
+ s.async = true;
21
+ s.src = "https://mc.yandex.ru/metrika/watch.js";
22
+
23
+ if (w.opera == "[object Opera]") {
24
+ d.addEventListener("DOMContentLoaded", f, false);
25
+ } else { f(); }
26
+ })(document, window, "yandex_metrika_callbacks");
27
+ %noscript
28
+ %div
29
+ %img{alt: "", src: "https://mc.yandex.ru/watch/49054148", style: "position:absolute; left:-9999px;"}/
30
+ / /Yandex.Metrika counter
@@ -11,6 +11,37 @@
11
11
  = javascript_include_tag "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js", integrity: "sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q", crossorigin: "anonymous"
12
12
  = csrf_meta_tags
13
13
  = yield :head_content
14
+ -#= render 'layouts/tramway/landing/yandex_metrika'
15
+ / Yandex.Metrika counter
16
+ :javascript
17
+ (function (d, w, c) {
18
+ (w[c] = w[c] || []).push(function() {
19
+ try {
20
+ w.yaCounter49054148 = new Ya.Metrika({
21
+ id:49054148,
22
+ clickmap:true,
23
+ trackLinks:true,
24
+ accurateTrackBounce:true,
25
+ webvisor:true
26
+ });
27
+ } catch(e) { }
28
+ });
29
+
30
+ var n = d.getElementsByTagName("script")[0],
31
+ s = d.createElement("script"),
32
+ f = function () { n.parentNode.insertBefore(s, n); };
33
+ s.type = "text/javascript";
34
+ s.async = true;
35
+ s.src = "https://mc.yandex.ru/metrika/watch.js";
36
+
37
+ if (w.opera == "[object Opera]") {
38
+ d.addEventListener("DOMContentLoaded", f, false);
39
+ } else { f(); }
40
+ })(document, window, "yandex_metrika_callbacks");
41
+ %noscript
42
+ %div
43
+ %img{alt: "", src: "https://mc.yandex.ru/watch/49054148", style: "position:absolute; left:-9999px;"}/
44
+ / /Yandex.Metrika counter
14
45
  %body
15
46
  = stylesheet_link_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/css/mdb.min.css'
16
47
  = javascript_include_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/js/mdb.js'
@@ -9,6 +9,9 @@ ru:
9
9
  position: Позиция на странице
10
10
  block_type: Тип блока
11
11
  view_state: Видимость на сайте
12
+ navbar_link: Ссылка в навигационной панели
13
+ anchor: Якорь (ссылка в строке URL)
14
+ description: Описание
12
15
  cases:
13
16
  tramway/landing/block:
14
17
  plural: Блоки
@@ -16,4 +19,13 @@ ru:
16
19
  enumerize:
17
20
  tramway/landing/block:
18
21
  block_type:
19
- header: Начальный
22
+ header: Начальный (Header)
23
+ footer: Подвал (Footer)
24
+ page: Свободный блок (картинка + текст)
25
+ cards: "Карточки (выводит определённый набор карточек): Программируется"
26
+ features: "Список возможностей (выделяет возможности): Программируется"
27
+ contacts: Блок с контактами
28
+ news: Блок новостей
29
+ navbar_link:
30
+ exist: Присутствует
31
+ not_exist: Отсутствует
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Landing
3
- VERSION = '1.1.3'
3
+ VERSION = '1.1.3.1'
4
4
  end
5
5
  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.1.3
4
+ version: 1.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-24 00:00:00.000000000 Z
11
+ date: 2018-05-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email:
@@ -39,6 +39,7 @@ files:
39
39
  - app/models/tramway/landing/application_record.rb
40
40
  - app/models/tramway/landing/block.rb
41
41
  - app/uploaders/tramway/landing/photo_versions.rb
42
+ - app/views/layouts/tramway/landing/_yandex_metrika.html.haml
42
43
  - app/views/layouts/tramway/landing/application.html.haml
43
44
  - app/views/tramway/landing/blocks/block_types/_cards.html.haml
44
45
  - app/views/tramway/landing/blocks/block_types/_contacts.html.haml
@@ -80,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
81
  version: '0'
81
82
  requirements: []
82
83
  rubyforge_project:
83
- rubygems_version: 2.7.3
84
+ rubygems_version: 2.7.6
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: Landing Engine for your Rails projects