tramway-event 1.9.24.1 → 1.9.25

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: ff89685223593f305e6e2468ce673aeea92de0fee60ec9a9016583485e637543
4
- data.tar.gz: 636065e3f8eb3ac328b937ab8c8f888f3d7ef8b4a1b599ebe3ef0ce40dd0cd42
3
+ metadata.gz: 23b8602b08fac64e7da272703bf4c1736f8b92b237d74e4449d1f09e4b183746
4
+ data.tar.gz: 5e18c8beb8894f1583dc55e2f1cb7e8e634aa3273c3c7ff80382f0dda93af38a
5
5
  SHA512:
6
- metadata.gz: 5d73b236fccb8b28bced3e9068365330d5646dd6ab33bd1dfe798f50bda2acad85665ab618b085bcec75dbbbe75b13385f06543fd6e87a380c2449c09a9017df
7
- data.tar.gz: b9861ee6079d9e713c76b1af5a85f76b36fedf046890396b6e0b390cef31ff1ce161ba2dfd16d10ec334cb461b12d2496aa20abcf1d43eaf780c8eb1bcc60a61
6
+ metadata.gz: d53b02a1a97ef8caf98133f4d80f9c73b59ee21112ae99c5bafceee7856b3d0a355827a42ce6086cfc23fe1b83d58dfdd37ca02097aa8c1e8050b9736652331c
7
+ data.tar.gz: 5fbcecc075ee3b6f1b6e4c49831071ed75090d10cdcb3a8d240c78d13e4e6b830068302eb33ad37e879657296b6229b096647956f49e361575f853aa4675065c
@@ -19,6 +19,10 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
19
19
  ]
20
20
  end
21
21
 
22
+ def show_associations
23
+ %i[participant_form_fields]
24
+ end
25
+
22
26
  def list_attributes
23
27
  %i[requested_participants approved_participants]
24
28
  end
@@ -27,7 +31,7 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
27
31
  delegate :title, to: :object
28
32
  delegate :status, to: :object
29
33
  decorate_association :participants
30
- decorate_association :participant_form_fields
34
+ decorate_association :participant_form_fields, as: :event
31
35
  decorate_association :sections
32
36
  decorate_association :partakings
33
37
  decorate_association :partnerships
@@ -36,6 +36,7 @@ ru:
36
36
  not_yet_held: мероприятие ещё не проведено
37
37
  participants_list: Список участников
38
38
  does_not_have_end_date: мероприятие не имеет даты окончания
39
+ participant_form_fields: Поле анкеты
39
40
  tramway/event/participant:
40
41
  name: Имя
41
42
  list_fields: Данные
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Event
5
- VERSION = '1.9.24.1'
5
+ VERSION = '1.9.25'
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.9.24.1
4
+ version: 1.9.25
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-01-25 00:00:00.000000000 Z
11
+ date: 2020-01-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for events
14
14
  email: