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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cacae39a07be0ae7ce9602eabba11eacc6b6c94302416c98cd03f689227ea65c
|
4
|
+
data.tar.gz: 8329705911bbcfdf49f6689700268902cf73b91d9067c5fb02f426365d3878ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|