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: 8c611ce20cbaa6055b3294faa094760f7ede0568ab3e662b6bce013ced1fcee7
4
- data.tar.gz: 6b0f5f7dc27b1798fe68f0a619f1b069fa74a2dfaf7c5ca2658dff1c1739cb2e
3
+ metadata.gz: 130a891dad032f778f01bfd28ca0cb61b48b55d6fc28d57b35a3f019f759d747
4
+ data.tar.gz: 374010438e4851f53e2248314565bea7d5e12740e91161a3d8dc84821b86417e
5
5
  SHA512:
6
- metadata.gz: 543bdc304158bc8030fef4d53ed8f133e9ade040cf46d76ec69a7f57c4ca2ee3f3b334188968f21376e35fde1c380d27564a0f843f3fcecb828e039e0d96ba03
7
- data.tar.gz: 20cc1f6968396204d0051026d6aba955f5e7b173971ca0bb5d817558cb7961c55046b63f2e4b2443f54903709b1515ff1fa27f4a40db4dda43bd5817fb3a724c
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: 'Контакты'), social_networks: @event.responsible_person[:social_networks], email: @event.responsible_person[:email], phone: @event.responsible_person[:phone]
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.12.1.1'
5
+ VERSION = '1.12.2'
6
6
  end
7
7
  end
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.1.1
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-03-29 00:00:00.000000000 Z
11
+ date: 2020-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configus