tramway-event 1.6.3 → 1.6.4

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: 66e010f443fe20f155da001def56bf61143b2b175fa9aee830110734e8541d4d
4
- data.tar.gz: 7c81d17cd605e87f04f09924647bf716c9571572d81c875c6c3bdef6301d621c
3
+ metadata.gz: 17c5fef82865b2a59a341fdd4b602e8bf461497dc68fffbf1f33425adc9f4144
4
+ data.tar.gz: 55605dafbd285e984dffaeef226a71fe5a6b1ad36a6a6313393ee90528bc26ad
5
5
  SHA512:
6
- metadata.gz: bf975e088dc446aa707d3d0b05e74a1921cc496f97c71aeb2d5d6eaa940903e40d799898ce04bdd74cecedfe6cd4e67f8d6ead9824f8618b920c7e3a92933b32
7
- data.tar.gz: 87540e607fa46ba4fb763232a7bd4ee81dad297a96e57296780d71d682fc306d9efc4aced7d287625079be1ccd9fd694e811e9bdd80305a272ffcaa4d4b4330b
6
+ metadata.gz: 05d26eb2fb4eaaf2800dbe5e093b8d14ee283c7e73790dd64e8b0752d4015025953c8af91851caed73f32634db2e066edf28ea1f27c0c7a39b6d0a272e33339b
7
+ data.tar.gz: 128e495a8396c61c12f151d14d39f94e392f08f77b30fe165884e06eae42d4015dd1018536a256456ff3f6d57868042375fe6653528854f482bb39edcd914a90
@@ -22,6 +22,14 @@ class Tramway::Event::ParticipantDecorator < ::Tramway::Core::ApplicationDecorat
22
22
 
23
23
  def list_fields
24
24
  content_tag :table, class: :table do
25
+ concat(content_tag(:tr) do
26
+ concat(content_tag(:td) do
27
+ object.class.human_attribute_name(:event)
28
+ end)
29
+ concat(content_tag(:td) do
30
+ object.event.title
31
+ end)
32
+ end)
25
33
  object.event.participant_form_fields.map do |field|
26
34
  hash = field.options.is_a?(Hash) ? field.options : JSON.parse(field.options.present? ? field.options : '{}')
27
35
  if hash.dig('list_field') == 'true'
@@ -15,6 +15,7 @@ ru:
15
15
  end_date: Дата конца
16
16
  tramway/event/participant:
17
17
  comment: Примечание
18
+ event: Мероприятие
18
19
  cases:
19
20
  tramway/event/event:
20
21
  plural: мероприятия
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.6.3'
3
+ VERSION = '1.6.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov