tramway-conference 1.8.12.1 → 1.8.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bebce22e2c96d6bbbce4fca801a9166df0bb084576ab0cab3f119e0713705475
4
- data.tar.gz: 23748e05369a6d801dd6f0f3da10b593495036d09b48595ec9ead77bf5c5df93
3
+ metadata.gz: 123bf1d6a65a6ce31561fdd92bbcb41c13ef87a35b97d0b72c2fd35c447b80c7
4
+ data.tar.gz: f1f1bdce536671146d6487a2239e90bd624c2ee40e65480650953f2fb7a439fa
5
5
  SHA512:
6
- metadata.gz: f74f55c3317c9dab878f5a5936fa804bd9ba3d4bdb02b6794a9002c14500984d3bff3269ee7d2f0ebded18adc4f35dd2c98cd1eb229ee994b86234158f74400c
7
- data.tar.gz: 01ed7e6f9911b0a80b28e702aa128e1ef6c64de943d152ea13c920058fa3faaa6e379f8b7bd4a4de6d845d1f9db2def178a27c22f8146f453c7f923149327b70
6
+ metadata.gz: 536dff0c5224ee4e36563175689fdee8e06f718f5e4e29f91b797c9e825b0af1f29e02dec3369ea2eb8499fc860d8b80b07d425b5d5bcfc98d19ed729d8a694f
7
+ data.tar.gz: d8385dd7e4308b6630fe4a08d90401fb865e1bc054127ba80370b900448a6b0d1970cd1dc6d0abae46287879dd1c865123010274a10a7188465be67aaecc2055
@@ -31,10 +31,10 @@
31
31
 
32
32
  - @collection_news = @news
33
33
 
34
- - content_for :main_image do
35
- = request.protocol + request.host_with_port + @blocks.select { |block| block.model.block_type.header? }.first.background.url
36
34
 
37
35
  - if @main_event.present?
36
+ - content_for :main_image do
37
+ = request.protocol + request.host_with_port + @main_event.photo.url
38
38
  .row.main_event
39
39
  .col
40
40
  %h1.text-center
@@ -43,5 +43,7 @@
43
43
  = @main_event.duration
44
44
  = render 'tramway/event/events/show_page', event: @main_event, sections: @sections, sections_as_features: @sections_as_features, people_as_features: @people_as_features, partners: @main_event.partners
45
45
  - else
46
+ - content_for :main_image do
47
+ = request.protocol + request.host_with_port + @blocks.select { |block| block.model.block_type.header? }.first.background.url
46
48
  - ::Tramway::Partner::Partnership.partnership_type.values.each do |partnership_type|
47
49
  = render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: t("enumerize.tramway/partner/partnership.partnership_type.#{partnership_type}")), collection: @partners[partnership_type]
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Conference
3
- VERSION = '1.8.12.1'
3
+ VERSION = '1.8.12.2'
4
4
  end
5
5
  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.8.12.1
4
+ version: 1.8.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Korotin