tramway-conference 1.4 → 1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/tramway/conference/application.js.coffee +1 -0
- data/app/controllers/tramway/conference/web/welcome_controller.rb +5 -0
- data/app/helpers/tramway/conference/application_helper.rb +1 -0
- data/app/views/tramway/conference/web/welcome/index.html.haml +12 -0
- data/lib/tramway/conference/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ca7ad0fad28b220371b403cc9ad53bf4221e141178fe6a8e3ac4783ed1f0e69
|
4
|
+
data.tar.gz: 5543fc9205232ac96abb4a44f13877cee11d0b6cc034dc9a5e4dd11874a6fae3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f750379ec7798bd52dbeefb1cb5c4a6434c73ece8262c19cf8aa9709250cdda81de3700203652b23bdf27384a922cdbbc35b18f3398ea329d13eab38e48dea2a
|
7
|
+
data.tar.gz: fea72612aa0cd5b4c1866af681897a04eedf516aa7feb04d89484ff9fc37a6db360751d5e4928edf2e59e5da8c5fe1648850399eb8fbac1083f14e016d023c10
|
@@ -6,5 +6,10 @@ 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
|
+
@main_event = ::Tramway::Event::EventDecorator.decorate main_event
|
11
|
+
@sections_as_features = main_event.sections.order(position: :asc).map { |s| ::Tramway::Event::SectionFeatureDecorator.decorate s }
|
12
|
+
@sections = main_event.sections.order(position: :asc).map { |s| ::Tramway::Event::SectionDecorator.decorate s }
|
13
|
+
@participant_form = ::Tramway::Event::ParticipantExtendedFormCreator.create_form_class(request.uuid, main_event).new ::Tramway::Event::Participant.new
|
9
14
|
end
|
10
15
|
end
|
@@ -30,3 +30,15 @@
|
|
30
30
|
= @unity&.longtitude
|
31
31
|
|
32
32
|
- @collection_news = @news
|
33
|
+
|
34
|
+
- if @main_event.present?
|
35
|
+
%br
|
36
|
+
%br
|
37
|
+
%br
|
38
|
+
.row
|
39
|
+
.col
|
40
|
+
%h1.text-center
|
41
|
+
= @main_event.title
|
42
|
+
%h3.text-center
|
43
|
+
= @main_event.duration
|
44
|
+
= render 'tramway/event/events/show_page', event: @main_event, sections: @sections, sections_as_features: @sections_as_features
|
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.
|
4
|
+
version: '1.5'
|
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: 2018-09-
|
12
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg
|