tramway-conference 1.5.12 → 1.6
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: 2ef7379a28f56ad650e93895f87e45994e052ef12b3b5458ec12ab4f99ad1c91
|
4
|
+
data.tar.gz: 7d59361345a9e5c32cf4b1c26bfd0f8564250b42331f3b92d0eed7333e4479ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d4ab0b6207aa8547515f7e5f74282d920e8aff8a0d6fc10c72bd4ec1e51bcc53f6984cf36ffa8bc42f09d3bd5fbda94b1cb591de43f48732f85519b2148bf9
|
7
|
+
data.tar.gz: efc64410bfdeddd5272576fadbf038e1888e1377c7a3ffa56f4cada6c08ba36e1cb21e1506bc9226e45cdee1c9816c3b950bdc43095ab3cb905bc11603f887cb
|
@@ -5,7 +5,10 @@ class Tramway::Conference::Web::WelcomeController < ::Tramway::Conference::Appli
|
|
5
5
|
@unity = ::Tramway::Conference::Unity.includes(:social_networks).first
|
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
|
+
past_events = ::Tramway::Event::EventLinkDecorator.decorate ::Tramway::Event::Event.active.past.order begin_date: :desc
|
9
|
+
past_events_links = Tramway::Landing::NavbarDecorator.new [{ past_events: past_events }]
|
10
|
+
actual_events = ::Tramway::Event::EventLinkDecorator.decorate ::Tramway::Event::Event.active.actual.order :begin_date
|
11
|
+
@links = actual_events + past_events_links
|
9
12
|
main_event = ::Tramway::Event::Event.main_event&.last
|
10
13
|
if main_event.present?
|
11
14
|
@main_event = ::Tramway::Event::Events::Show::EventDecorator.decorate main_event
|
data/config/locales/ru.yml
CHANGED
@@ -2,15 +2,9 @@ ru:
|
|
2
2
|
application:
|
3
3
|
name: Конференция
|
4
4
|
tagline: Главный слоган лендоса конференции
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
header_buttons:
|
12
|
-
parents: Я - родитель ребёнка
|
13
|
-
schoolkids: Я - школьник
|
14
|
-
adults: Я - взрослый
|
15
|
-
contacts: Контакты
|
16
|
-
|
5
|
+
tramway:
|
6
|
+
landing:
|
7
|
+
blocks:
|
8
|
+
block_types:
|
9
|
+
header:
|
10
|
+
past_events: Прошедшие мероприятия
|
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.6'
|
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-
|
12
|
+
date: 2018-11-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Engine for Conference web sites
|
15
15
|
email:
|