card-mod-history 0.15.0 → 0.15.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c01429d5e9aa871027c976ba0aa66626d684c95d4ddfc4c07799f1431e6d9933
|
4
|
+
data.tar.gz: 2f467d140dc2bfbc243de2f6a7efa63202d7def6e48ec131d404f6b3ccbf2fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd671f806d6096d5ca53f98e1c1a2d9b4d44861932544d4439e958260167ab24d55915d85a51ac07085f26c962e657849e43e60b87eedeedfa8c9f8036e386ea
|
7
|
+
data.tar.gz: baae6095feb0f2f5824f664b5d33d7edf3b74cee17119d2440cf5dd6f760b0aec70af0f9f01505f807d641bdaa5d46eac1127923e266eeebfc6e2915c31c70f1
|
@@ -108,10 +108,10 @@ format :html do
|
|
108
108
|
|
109
109
|
def action_icon action_type, extra_class=nil
|
110
110
|
icon = case action_type
|
111
|
-
when :create then :
|
112
|
-
when :update then :
|
113
|
-
when :delete then :
|
114
|
-
when :draft then :
|
111
|
+
when :create then :create_action
|
112
|
+
when :update then :update_action
|
113
|
+
when :delete then :delete_action
|
114
|
+
when :draft then :draft
|
115
115
|
end
|
116
116
|
icon_tag icon, extra_class
|
117
117
|
end
|
data/set/all/history/actions.rb
CHANGED
@@ -59,13 +59,13 @@ format :html do
|
|
59
59
|
other_view_type = view_type == :expanded ? :summary : :expanded
|
60
60
|
css_class = "revision-#{action.card_act_id} float-end"
|
61
61
|
link_to_view "action_#{other_view_type}",
|
62
|
-
icon_tag(action_arrow_dir(view_type)
|
62
|
+
icon_tag(action_arrow_dir(view_type)),
|
63
63
|
class: css_class,
|
64
64
|
path: { action_id: action.id, look_in_trash: true }
|
65
65
|
end
|
66
66
|
|
67
67
|
def action_arrow_dir view_type
|
68
|
-
view_type == :expanded ? :
|
68
|
+
view_type == :expanded ? :collapse : :expand
|
69
69
|
end
|
70
70
|
|
71
71
|
def revert_actions_link link_text, path_args, html_args={}
|
data/set/all/history/views.rb
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
# History views
|
2
2
|
|
3
3
|
format :html do
|
4
|
-
view :history, cache: :never do
|
4
|
+
view :history, cache: :never do # why no cache?
|
5
5
|
frame do
|
6
6
|
class_up "d0-card-body", "history-slot"
|
7
|
-
|
7
|
+
render_relative_history
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
+
view :relative_history do
|
12
|
+
acts_layout card.history_acts, :relative, :show
|
13
|
+
end
|
14
|
+
|
11
15
|
view :act, cache: :never do
|
12
16
|
act_listing act_from_context
|
13
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-history
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.105.
|
21
|
+
version: 1.105.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.105.
|
28
|
+
version: 1.105.1
|
29
29
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|
@@ -34,6 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- assets/style/history.scss
|
37
|
+
- config/locales/de.yml
|
38
|
+
- config/locales/en.yml
|
37
39
|
- data/test.yml
|
38
40
|
- lib/card/act.rb
|
39
41
|
- lib/card/act/act_renderer.rb
|
@@ -47,8 +49,6 @@ files:
|
|
47
49
|
- lib/card/action/differ.rb
|
48
50
|
- lib/card/change.rb
|
49
51
|
- lib/card/mod/history.rb
|
50
|
-
- locales/de.yml
|
51
|
-
- locales/en.yml
|
52
52
|
- set/all/history.rb
|
53
53
|
- set/all/history/act_listing.rb
|
54
54
|
- set/all/history/actions.rb
|
File without changes
|
File without changes
|