card-mod-history 0.15.0 → 0.15.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: a606a572b68b98bddd7dd1c0b66b305973568563e10313bb1606552a3edcbd28
|
4
|
+
data.tar.gz: 524823e9fd9881733620b6d84b4299f2b14e9e97e26f07e7d62b54b94c91bf8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62a0a2b2aadde8097310d918f3ff52664138d33807eeba577b63756c14934f6f7c3a5ceb1c80eafa097da303e38ab5a5430ba8d15279290f8623208e97c8fd40
|
7
|
+
data.tar.gz: c6a0344f4580149810ecab2652e481a154ec6ad0f58709079adaf79c824f50bee04320feae1659a61c1b4d2c98e7168c54166cc55bcbba2ba0b2784803c60bdc
|
@@ -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
|
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
|