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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5dbc7effe345552dadff716386b0287b262d692bfec8bf5e796c38b5a85de236
4
- data.tar.gz: 1317b0326b19e1e34db2c3d5ca35d4bfe6b2541f2ae87b4e07bcc6feb1047dfa
3
+ metadata.gz: 7ca7ad0fad28b220371b403cc9ad53bf4221e141178fe6a8e3ac4783ed1f0e69
4
+ data.tar.gz: 5543fc9205232ac96abb4a44f13877cee11d0b6cc034dc9a5e4dd11874a6fae3
5
5
  SHA512:
6
- metadata.gz: 70d1eb882a84096f21d47465ccf5f81992cc68cb4a499db5ebd2889d6dbcf3ceef31ea9cb6f0a610a3c2d124b7abbe683bea1f8335295a77a2756ffb34a43775
7
- data.tar.gz: 33024475c1a0f0e11e54da3fd8c268be6495916d0cd4c6b51902703f06de6d6abac68f76009251112b64cffe29cc10040ed87f94f71b3dfcfdc29a79bda9029e
6
+ metadata.gz: f750379ec7798bd52dbeefb1cb5c4a6434c73ece8262c19cf8aa9709250cdda81de3700203652b23bdf27384a922cdbbc35b18f3398ea329d13eab38e48dea2a
7
+ data.tar.gz: fea72612aa0cd5b4c1866af681897a04eedf516aa7feb04d89484ff9fc37a6db360751d5e4928edf2e59e5da8c5fe1648850399eb8fbac1083f14e016d023c10
@@ -1,6 +1,7 @@
1
1
  #= require jquery
2
2
  #= require jquery_ujs
3
3
  #= require tramway/conference/jquery.scrollTo.min
4
+ #= require tramway/core/application
4
5
  #= require_tree .
5
6
 
6
7
  $.extend($.scrollTo.defaults, {
@@ -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
@@ -2,6 +2,7 @@ module Tramway
2
2
  module Conference
3
3
  module ApplicationHelper
4
4
  include ::FontAwesome::Rails::IconHelper
5
+ include ::Tramway::Collections::Helper
5
6
  end
6
7
  end
7
8
  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
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Conference
3
- VERSION = '1.4'
3
+ VERSION = '1.5'
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.4'
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-20 00:00:00.000000000 Z
12
+ date: 2018-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg