tramway-event 1.2 → 1.2.1

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: 59d26d73273e6ca5ae354056b8ddfb3c16d746d75ce7506e33e3d907e90ba51f
4
- data.tar.gz: e91be86a4e03b116f840b3635c7a6eea8584da7248f5c0e9213a3b4480e5b849
3
+ metadata.gz: 3c6e619273da34ae3abd7762ca36c613a4cf69587731b3ca95067ac670e217a7
4
+ data.tar.gz: e75b7c4c21f0ebb3d62ea3798a6239fa7b9b3a7b0492494862c9091d35ec9ac4
5
5
  SHA512:
6
- metadata.gz: 46a8316a5e8932d31c8a66b1e9bd744a1458b253fd9ba67ee8ae083f7049ae714d5ccbf5ead24f0839211740e027f7f0444f9418f1c72a0a5c08ccc0fd73bbbd
7
- data.tar.gz: 1d0328ff79d14bdecdc09d66d9cbc844291b020a8cbde3737e108905fca625835ee3f225e3dc8fc170cb7961e64948a21aa55ed616825078b9fad26309a71e1c
6
+ metadata.gz: 24dd4fafa80ff677f7fd7b152a4191864c699656502901f05f62c8e37d2d044f857090408c353b74f5ca5cf6feb122c182c14000295c7e3e909ab050796913b0
7
+ data.tar.gz: 861c3aac242cfeb580deaac54f40c33f99de4ff8d490962d5abe876c453f2bb106129ef146ea3dfc15cbfb6a15ac51900077b7cd58442dd551cd1ab45fc619e6
@@ -5,7 +5,10 @@ class Tramway::Event::SectionDecorator < ::Tramway::Core::ApplicationDecorator
5
5
  end
6
6
  end
7
7
 
8
- delegate :title, to: :object
8
+ def title
9
+ "#{fa_icon(object.icon)} #{object.title}".html_safe
10
+ end
11
+
9
12
  delegate :description, to: :object
10
13
 
11
14
  def background
@@ -33,5 +33,7 @@
33
33
  %hr
34
34
  = render 'tramway/event/participants/form'
35
35
  %hr
36
- - @sections.each do |section|
36
+ - @sections.each_with_index do |section, index|
37
37
  = render 'tramway/landing/blocks/templates/section_with_image_and_text', block: section
38
+ - if index < @sections.count - 1
39
+ %br
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.2'
3
+ VERSION = '1.2.1'
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.2'
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov