tramway-event 1.12.1.1 → 1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 130a891dad032f778f01bfd28ca0cb61b48b55d6fc28d57b35a3f019f759d747
|
4
|
+
data.tar.gz: 374010438e4851f53e2248314565bea7d5e12740e91161a3d8dc84821b86417e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6354bfccd5a717af7bb82cd3082407334f133dac23384d25fbbb20fbac2471b3febbe02e4ba866bc38e42647afbc9367917c0589fed0fab804607258f642994
|
7
|
+
data.tar.gz: dc45b8e48ae39e6f0a384dc7a72e61263fa231d7da61d08211ac669d7d68b8b447ec5f57affadd3d263308467b216fbcc71ea3110490edcd357541f9bc5524cf
|
@@ -45,6 +45,7 @@ class Tramway::Event::Events::Show::EventDecorator < ::Tramway::Core::Applicatio
|
|
45
45
|
|
46
46
|
def responsible_person
|
47
47
|
{
|
48
|
+
title: (Tramway::User::UserDecorator.decorate(object.creator).name),
|
48
49
|
phone: (object.creator.phone if object.creator&.phone&.present?),
|
49
50
|
email: (object.creator.email if object.creator&.email&.present?),
|
50
51
|
social_networks: (object.creator.social_networks.active if object.creator.respond_to?(:social_networks))
|
@@ -18,7 +18,7 @@
|
|
18
18
|
%main.event.show
|
19
19
|
.container
|
20
20
|
- if @event.responsible_person[:social_networks]&.any? || @event.responsible_person[:phone].present? || @event.responsible_person[:email].present?
|
21
|
-
= render 'tramway/landing/blocks/block_types/contacts', block: OpenStruct.new(title:
|
21
|
+
= render 'tramway/landing/blocks/block_types/contacts', block: OpenStruct.new(title: @event.responsible_person[:title]), social_networks: @event.responsible_person[:social_networks], email: @event.responsible_person[:email], phone: @event.responsible_person[:phone]
|
22
22
|
- if defined? sections_as_features
|
23
23
|
= render 'tramway/landing/templates/features_list', collection: sections_as_features
|
24
24
|
.row.description
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configus
|