redmineup 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/calendars.css +0 -3
- data/app/assets/stylesheets/redmineup.css +0 -6
- data/doc/CHANGELOG +5 -0
- data/lib/redmineup/helpers/form_tag_helper.rb +2 -1
- data/lib/redmineup/version.rb +1 -1
- data/test/tags_helper_view_test.rb +10 -1
- metadata +2 -3
- data/app/assets/stylesheets/money.css +0 -95
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edd9e2b69c72c5f3ec376bd59f68cd701bcb28a1ac81c7fbf31085acdd422e18
|
|
4
|
+
data.tar.gz: 52bf3b2fd440ace540ba8d1eba5d297243ded63da5e806a9496d41c796f9d628
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d196b8b574b8643412d71618072da558649c48748b92b471e7594743ebe6c7c2f03f8c3c523e5774034040bb4a802d77fe00713acfeb50b978bb1a46f605cee
|
|
7
|
+
data.tar.gz: '07478c4976432e4103a50630d60fa691d153434a238e3811bae0d393ad4c1e24a5e17246268e569a1a03b023bd8b704ec15c55536dbb045ffd83db1cb1f12c56'
|
|
@@ -10,6 +10,3 @@ table.cal td.odd p.day-num {color: #bbb;}
|
|
|
10
10
|
table.cal td.today {background:#ffffdd;}
|
|
11
11
|
table.cal td.today p.day-num {font-weight: bold;}
|
|
12
12
|
table.cal td.nwday:not(.odd) {background-color:#f1f1f1;}
|
|
13
|
-
table.cal .starting a.issue, p.cal.legend .starting {background: url(../../../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
|
|
14
|
-
table.cal .ending a.issue, p.cal.legend .ending {background: url(../../../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
|
15
|
-
table.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../../../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
|
@@ -432,9 +432,6 @@ table.cal td.odd p.day-num {color: #bbb;}
|
|
|
432
432
|
table.cal td.today {background:#ffffdd;}
|
|
433
433
|
table.cal td.today p.day-num {font-weight: bold;}
|
|
434
434
|
table.cal td.nwday:not(.odd) {background-color:#f1f1f1;}
|
|
435
|
-
table.cal .starting a.issue, p.cal.legend .starting {background: url(../../../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
|
|
436
|
-
table.cal .ending a.issue, p.cal.legend .ending {background: url(../../../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
|
437
|
-
table.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../../../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
|
438
435
|
|
|
439
436
|
#admin-menu a.icon-redmineup-money:not(:has(svg)) {
|
|
440
437
|
background-image: url(../images/money.png);
|
|
@@ -462,9 +459,6 @@ ul.cal {
|
|
|
462
459
|
.cal .calbody.today p.day-num {font-weight: bold;}
|
|
463
460
|
.cal .calbody .icon {padding-top: 2px; padding-bottom: 3px;}
|
|
464
461
|
.cal .calbody.nwday:not(.odd) {background-color:#f1f1f1;}
|
|
465
|
-
.cal .starting a.issue, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
|
|
466
|
-
.cal .ending a.issue, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
|
467
|
-
.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
|
468
462
|
@media screen and (max-width: 899px) {
|
|
469
463
|
ul.cal { display: block }
|
|
470
464
|
.cal .calhead { display: none }
|
data/doc/CHANGELOG
CHANGED
|
@@ -4,6 +4,11 @@ Redmine UP gem - general functions for plugins (tags, vote, viewing, currency)
|
|
|
4
4
|
Copyright (C) 2011-2026 Kirill Bezrukov (RedmineUP)
|
|
5
5
|
https://www.redmineup.com/
|
|
6
6
|
|
|
7
|
+
== 2026-10-09 v1.1.14
|
|
8
|
+
|
|
9
|
+
* Fixed missing calendar icons and extra padding in Redmine 6/7
|
|
10
|
+
* Fixed tag field width in forms
|
|
11
|
+
|
|
7
12
|
== 2026-08-25 v1.1.13
|
|
8
13
|
|
|
9
14
|
* Updated patches from include to prepend
|
|
@@ -67,7 +67,8 @@ module Redmineup
|
|
|
67
67
|
options_for_select(value, value),
|
|
68
68
|
{
|
|
69
69
|
multiple: true,
|
|
70
|
-
|
|
70
|
+
style: "width: #{width || '95%'};",
|
|
71
|
+
width: 'style',
|
|
71
72
|
url: url || auto_complete_taggable_tags_path(taggable_type: taggable_type, project_id: project_id),
|
|
72
73
|
placeholder: placeholder || l(:lable_redmineup_add_tag),
|
|
73
74
|
tags: true
|
data/lib/redmineup/version.rb
CHANGED
|
@@ -35,7 +35,16 @@ class TagsHelperViewTest < ActionView::TestCase
|
|
|
35
35
|
width: '60%', tags: false,
|
|
36
36
|
placeholder: '+ add tag')
|
|
37
37
|
assert_includes result, 'name="issue[tag_list][]"'
|
|
38
|
-
assert_includes result, '"width
|
|
38
|
+
assert_includes result, 'style="width: 60%;"'
|
|
39
|
+
assert_includes result, '"width":"style"'
|
|
39
40
|
assert_includes result, '"tags":false'
|
|
40
41
|
end
|
|
42
|
+
|
|
43
|
+
def test_tag_list_field_tag_with_default_width
|
|
44
|
+
result = tag_list_field_tag('issue[tag_list]', [],
|
|
45
|
+
url: '/auto_completes/taggable_tags',
|
|
46
|
+
placeholder: '+ add tag')
|
|
47
|
+
assert_includes result, 'style="width: 95%;"'
|
|
48
|
+
assert_includes result, '"width":"style"'
|
|
49
|
+
end
|
|
41
50
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redmineup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- RedmineUP
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -124,7 +124,6 @@ files:
|
|
|
124
124
|
- app/assets/javascripts/select2.js
|
|
125
125
|
- app/assets/javascripts/select2_helpers.js
|
|
126
126
|
- app/assets/stylesheets/calendars.css
|
|
127
|
-
- app/assets/stylesheets/money.css
|
|
128
127
|
- app/assets/stylesheets/redmineup.css
|
|
129
128
|
- app/assets/stylesheets/select2.css
|
|
130
129
|
- app/controllers/redmineup_controller.rb
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
#admin-menu a.icon-redmineup-money:not(:has(svg)) {
|
|
2
|
-
background-image: url(../images/money.png);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
/***** Calendar *****/
|
|
6
|
-
ul.cal {
|
|
7
|
-
list-style: none;
|
|
8
|
-
width: 100%;
|
|
9
|
-
padding: 0;
|
|
10
|
-
display: grid;
|
|
11
|
-
grid-template-columns: 2rem repeat(7, 1fr);
|
|
12
|
-
margin: 0;
|
|
13
|
-
border: 1px solid #c0c0c0;
|
|
14
|
-
border-spacing: 0;
|
|
15
|
-
border-radius: 3px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cal .calhead {
|
|
19
|
-
background-color:#eee;
|
|
20
|
-
text-align: center;
|
|
21
|
-
font-weight: bold;
|
|
22
|
-
padding: 4px
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.cal .week-number {
|
|
26
|
-
background-color:#eee;
|
|
27
|
-
border:none;
|
|
28
|
-
font-size: 1em;
|
|
29
|
-
padding: 4px;
|
|
30
|
-
text-align: center;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.cal .week-number .label-week {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.cal .calbody {
|
|
38
|
-
border: 1px solid #d7d7d7;
|
|
39
|
-
vertical-align: top;
|
|
40
|
-
font-size: 0.9em;
|
|
41
|
-
border-bottom: 0;
|
|
42
|
-
border-right: 0;
|
|
43
|
-
line-height: 1.2;
|
|
44
|
-
min-height: calc(1.2em * 6);
|
|
45
|
-
padding: 2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.cal .calbody p.day-num {font-size: 1.1em; text-align:right;}
|
|
49
|
-
.cal .calbody .abbr-day {display:none}
|
|
50
|
-
.cal .calbody.odd p.day-num {color: #bbb;}
|
|
51
|
-
.cal .calbody.today {background:#ffd;}
|
|
52
|
-
.cal .calbody.today p.day-num {font-weight: bold;}
|
|
53
|
-
|
|
54
|
-
.cal .calbody .icon {padding-top: 2px; padding-bottom: 3px;}
|
|
55
|
-
.cal .calbody.nwday:not(.odd) {background-color:#f1f1f1;}
|
|
56
|
-
.cal .starting a.issue, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
|
|
57
|
-
.cal .ending a.issue, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
|
58
|
-
.cal .starting.ending a.issue, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/* responsive.css */
|
|
62
|
-
@media screen and (max-width: 899px)
|
|
63
|
-
{
|
|
64
|
-
ul.cal {
|
|
65
|
-
display: block
|
|
66
|
-
}
|
|
67
|
-
.cal .calhead {
|
|
68
|
-
display: none
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.cal .calbody {
|
|
72
|
-
min-height: calc(1.2em * 3);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.cal .calbody .abbr-day {
|
|
76
|
-
display: inline;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.cal .week-number {
|
|
80
|
-
border: 1px solid #c0c0c0;
|
|
81
|
-
text-align: left;
|
|
82
|
-
font-weight: bold;
|
|
83
|
-
background-color: #def;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.cal .week-number .label-week {
|
|
87
|
-
display: inline;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.cal .calbody p.day-num {
|
|
91
|
-
font-size: 1.1em;
|
|
92
|
-
text-align: left;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
/***** End Calendar *****/
|