tramway-landing 1.8.2 → 1.8.2.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: 632a09e1ca2c5d31cc9bee704ce61dd1af541f311f4c08894dafea61c9fc937f
4
- data.tar.gz: 115dc1b7748679c85b2643b1abc4e7b1c94adccb45fae159f5eae6b22f21e00b
3
+ metadata.gz: 2a28373e053e24950d52141c90d63e5952a170b6af432603793cac36c525afce
4
+ data.tar.gz: 232fea1dbfd25d78e44cb45d2edb4e84597402b35990d4b4289b6b613864e119
5
5
  SHA512:
6
- metadata.gz: a4c3bab9b197ce665d9f6c430eb94e7b03817cfcd20e7d0da6e1db6167484377b5d1a1c9685548730c9f67704bd1798cf273adb807e099f074cf733cf808d1a8
7
- data.tar.gz: 30204fef032d97fe6ddf0a7a042ea84c2959e7a044b7b1d8566822be19f0630ea7ec861d07b5f0104be463ca0df14ca5654983edf2704132a1edb4da0d639f45
6
+ metadata.gz: 607dd7da27ebd8d26da4af7ea59303e6b6ba077ae24e35ab3613cacaeb2d8841bd338cb18daa74bacbf76b4b0f564a3ecae8b19886890cd530f5d0867911fdc3
7
+ data.tar.gz: 23bb76b7855ab06d71d7a9b931f43898b33882f1e33b88bb532516e7fc678ce42e842581be3b7c89d6fab218dd3a7dec395630c47664b6ae0b064d29f21cd006
data/README.md CHANGED
@@ -112,11 +112,11 @@ Then all your showing blocks will be on the main page.
112
112
  How create blocks you can find here
113
113
 
114
114
  * [Header](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/header/main.md)
115
- * Footer
116
- * Block with text and image
117
- * Block with text, image and button
118
- * Cards
119
- * Features list
115
+ * [Footer](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/footer/main.md)
116
+ * [Block with text and image](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/block_with_text_and_image/main.md)
117
+ * [Block with text, image and button](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/block_with_text_image_and_button/main.md)
118
+ * [Cards](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/cards/main.md)
119
+ * [Features list](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/features/main.md)
120
120
  * Contacts
121
121
  * News
122
122
  * Block with text and button
@@ -22,11 +22,12 @@
22
22
  %h2.mb-5.font-weight-bold.text-center
23
23
  = block.title
24
24
  .row
25
- .col-lg-5.col-md-12
26
- - @application.social_networks.active.each do |profile|
27
- %ul.list-group
28
- %li.list-group-item
29
- = profile_link profile
25
+ - if defined?(::Tramway::Profiles)
26
+ .col-lg-5.col-md-12
27
+ - @application.social_networks.active.each do |profile|
28
+ %ul.list-group
29
+ %li.list-group-item
30
+ = profile_link profile
30
31
  .col-lg-7.col-md-12
31
32
  .row.text-center
32
33
  - if yield(:address).present?
@@ -45,4 +46,5 @@
45
46
  = tel_tag yield(:phone) do
46
47
  = fa_icon :phone, class: 'grey-text'
47
48
  = yield :phone
48
- #map-container.z-depth-1-half.map-container{ style: 'height: 400px' }
49
+ - if yield(:longtitude).present? && yield(:latitude).present?
50
+ #map-container.z-depth-1-half.map-container{ style: 'height: 400px' }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '1.8.2'
5
+ VERSION = '1.8.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov