tramway-event 1.8.8 → 1.8.9

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: 295af73c18fe1ac83321d139aaeb99b79158381809e0f7accebdeb985af5732d
4
- data.tar.gz: 9641cf0c80da81a7b346f42ec775d3a488c7a7a84b1a242d9d68d97bb1ef623e
3
+ metadata.gz: cacae39a07be0ae7ce9602eabba11eacc6b6c94302416c98cd03f689227ea65c
4
+ data.tar.gz: 8329705911bbcfdf49f6689700268902cf73b91d9067c5fb02f426365d3878ea
5
5
  SHA512:
6
- metadata.gz: 24407bc8a2d7bd6a852340c41faab1721838b54a5586fee4e66fde191c34d14e89d164a6f181c3a012058ed7516493e3390c4eed319b0e3a91c67185421aa5a4
7
- data.tar.gz: 5fb5a64ab2f56d1a9601b7dfce5c6e1556e6dd83b1771b1baa1ae5968a3e20cda9b36eba5ca2c857ff800154b10f919f14d6a9ba4648a36d2dbc5639ef1f3f36
6
+ metadata.gz: ccc47f63b98af3130ac1cdd3679d5db793a2a6e2d05db195dc73df2a749f86e4c481a6a7b1d0f02381a8ba301f274095ee5e5701023764a976d4b38f0d36fef8
7
+ data.tar.gz: 1b17ee09e14d861c085f784fcb08a7e2ed9fa41a20dd9fa4cf58be9653eea1ef60dcdf72566d5dcea32863bd7866160b9822e32b89e375dfbf4e02e181b983a5
@@ -3,15 +3,15 @@ class Tramway::Event::SectionDecorator < ::Tramway::Landing::BlockTypes::Feature
3
3
  def collections
4
4
  [ :all ]
5
5
  end
6
-
7
- def list_attributes
8
- [ :event_title ]
9
- end
10
6
  end
11
7
 
12
8
  delegate :description, to: :object
13
9
  decorate_association :partakings, decorator: Tramway::Event::PartakingFeatureDecorator
14
10
 
11
+ def name
12
+ "#{object.title} | #{object.event.title}"
13
+ end
14
+
15
15
  def title
16
16
  "#{fa_icon(object.icon)} #{object.title}".html_safe
17
17
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.8.8'
3
+ VERSION = '1.8.9'
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.8.8
4
+ version: 1.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov