tramway-conference 1.5 → 1.5.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5531ccf5d07d408b3727af1a02607e7e9bd349b6c2a8484643f762f67f2ade7
|
4
|
+
data.tar.gz: 1a3afe51ff5b91cdaaea9e79a310015eddce24194efcd50d758e76fc266ae76f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8d85cc7a8f091c662aa2c7623dab9c7046240b32369f21e9cbbc5385c0da2e0410b9caed5224341d4336b87c6aa7b8e5b54eeb2762717c2b52cbbf303703892
|
7
|
+
data.tar.gz: e66eb33f96d8557229556555b6d7d9023d5daed4d7a88c535ffe5c5a38ac22879bd61b0d470e4166c9fc6aaad35a21e8115086cfc111729bce03e392a056ee17
|
@@ -6,10 +6,12 @@ class Tramway::Conference::Web::WelcomeController < ::Tramway::Conference::Appli
|
|
6
6
|
@blocks = ::Tramway::Landing::BlockDecorator.decorate ::Tramway::Landing::Block.on_main_page
|
7
7
|
@news = ::Tramway::News::News.active.first(3).map { |t| ::Tramway::Landing::Cards::NewsDecorator.new t }
|
8
8
|
@links = ::Tramway::Event::EventLinkDecorator.decorate ::Tramway::Event::Event.active
|
9
|
-
main_event = ::Tramway::Event::Event.main_event
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
main_event = ::Tramway::Event::Event.main_event&.last
|
10
|
+
if main_event.present?
|
11
|
+
@main_event = ::Tramway::Event::EventDecorator.decorate main_event
|
12
|
+
@sections_as_features = main_event.sections.order(position: :asc).map { |s| ::Tramway::Event::SectionFeatureDecorator.decorate s }
|
13
|
+
@sections = main_event.sections.order(position: :asc).map { |s| ::Tramway::Event::SectionDecorator.decorate s }
|
14
|
+
@participant_form = ::Tramway::Event::ParticipantExtendedFormCreator.create_form_class(request.uuid, main_event).new ::Tramway::Event::Participant.new
|
15
|
+
end
|
14
16
|
end
|
15
17
|
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:
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Korotin
|
@@ -10,21 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2018-09-25 00:00:00.000000000 Z
|
13
|
-
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: pg
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ">="
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '0'
|
21
|
-
type: :development
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '0'
|
13
|
+
dependencies: []
|
28
14
|
description: Engine for Conference web sites
|
29
15
|
email:
|
30
16
|
- soxat73rus@gmail.com
|