tramway-event 1.12.3.4 → 1.12.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/decorators/tramway/event/action_decorator.rb +4 -0
- data/lib/tramway/event/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '072972cdb9e96ea40f272e8cdba1f0fcd8c90f74b8a2c6322c7013454c7abaf8'
|
4
|
+
data.tar.gz: eed9b89ebaf9a79a937159830d9000fedfaa527ffd59746c65ac5ab3046939d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6f6094ee1da88a967d89904a2c7aa8b5d20cdff337dbe01d1ee86ecfd8db54d091c85f467bc778610e94a287f29e64b0866187689378a0d068836a7aa23c7e0
|
7
|
+
data.tar.gz: 6992e10900c76bbc6ae5dddbace85232ffeac7684c76dac9762f85d2d1f3c03266c5d7a4233db8eb3f80141b13222d4bd65cc7773838801f7254577b00b531d7
|
@@ -10,6 +10,10 @@ class Tramway::Event::ActionDecorator < Tramway::Core::ApplicationDecorator
|
|
10
10
|
"#{object.title} - #{date_view(object.deadline)} - #{state_machine_view(object, :action_state)}"
|
11
11
|
end
|
12
12
|
|
13
|
+
def title
|
14
|
+
object.title
|
15
|
+
end
|
16
|
+
|
13
17
|
def action_state_button_color(event)
|
14
18
|
case event
|
15
19
|
when :do
|
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.12.3.
|
4
|
+
version: 1.12.3.5
|
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-05-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configus
|