tramway-conference 1.9.4.3 → 1.9.4.4

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: 0b6fafa441ff9f4c05fa03fabb896072227e1cd73aea826dc913ab770990153d
4
- data.tar.gz: 4c61b43ca2351df38cc883d0d1d603ca832f3ab003421707a683a5b22f33fbb1
3
+ metadata.gz: c1d6d0f12b768d54e0c51d3ecfc949b4cc5c9229ebc20f6ffe117f2da61fe15d
4
+ data.tar.gz: 2bf31b0cdf14bb21cb695b70d16c2a6ea80b45657a263ebda2b0f86aaf2989bb
5
5
  SHA512:
6
- metadata.gz: ff819282220c46754910582be4cf5189255f2781313cfe46722e24ed6dc75ab6ddc7f1f1bfa25a22488a795f201341651375868009149b27bd90c51b0e6c3889
7
- data.tar.gz: 153e0796f71e0b0ef5a54935c4718efba6649893b8bb2965de1992f9fafcd776235b4da27fcf3424bf8c56eab0b72e7482ffb3a563d985846682a7d7d1d84d6c
6
+ metadata.gz: 7103fe737f20b6be1a04bb77898bce61431a755395bf68e3c4c875cbf9b0b4b72ab20de75c4b1290213dfd6dd91298b20c7155dcd23f805af121ac194ddac192
7
+ data.tar.gz: 2fecac16606e15eada41a86f2091213b34959d97e7b7ac3fa9f8b7ad46dcb0b86e8d76bc8f6c38628444416d1d09f7137d0b2a0ac33da1421f0baf008d167e3c
@@ -28,14 +28,15 @@
28
28
  - @collection_news = @news
29
29
 
30
30
  %br
31
- .container
32
- .row-fluid
33
- %h1.text-center
34
- Ближайшие мероприятия
35
- - @close_events.each do |event|
31
+ - if @close_events.any?
36
32
  .container
37
33
  .row-fluid
38
- = render 'tramway/landing/templates/section_with_image_and_text', block: event
34
+ %h1.text-center
35
+ Ближайшие мероприятия
36
+ - @close_events.each do |event|
37
+ .container
38
+ .row-fluid
39
+ = render 'tramway/landing/templates/section_with_image_and_text', block: event
39
40
 
40
41
  - content_for :main_image do
41
42
  = request.protocol + request.host_with_port + @blocks.select { |block| block.model.block_type.header? }.first.background.url
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Conference
5
- VERSION = '1.9.4.3'
5
+ VERSION = '1.9.4.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-conference
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.4.3
4
+ version: 1.9.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Korotin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-05 00:00:00.000000000 Z
12
+ date: 2020-05-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Engine for Conference web sites
15
15
  email: