lazylead 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.docs/duedate_expired.md +1 -1
- data/.rubocop.yml +18 -3
- data/Gemfile +1 -1
- data/Guardfile +1 -1
- data/Rakefile +1 -1
- data/bin/lazylead +1 -1
- data/lazylead.gemspec +11 -11
- data/lib/lazylead.rb +2 -2
- data/lib/lazylead/allocated.rb +1 -1
- data/lib/lazylead/cc.rb +1 -1
- data/lib/lazylead/cli/app.rb +1 -1
- data/lib/lazylead/confluence.rb +1 -1
- data/lib/lazylead/email.rb +1 -1
- data/lib/lazylead/exchange.rb +1 -1
- data/lib/lazylead/home.rb +1 -1
- data/lib/lazylead/log.rb +1 -1
- data/lib/lazylead/model.rb +1 -1
- data/lib/lazylead/opts.rb +6 -3
- data/lib/lazylead/postman.rb +1 -1
- data/lib/lazylead/requires.rb +38 -0
- data/lib/lazylead/salt.rb +1 -1
- data/lib/lazylead/schedule.rb +1 -1
- data/lib/lazylead/smtp.rb +1 -1
- data/lib/lazylead/system/empty.rb +1 -1
- data/lib/lazylead/system/fake.rb +1 -1
- data/lib/lazylead/system/jira.rb +19 -18
- data/lib/lazylead/system/synced.rb +1 -1
- data/lib/lazylead/task/accuracy/accuracy.rb +15 -18
- data/lib/lazylead/task/accuracy/affected_build.rb +1 -1
- data/lib/lazylead/task/accuracy/attachment.rb +1 -1
- data/lib/lazylead/task/accuracy/environment.rb +1 -1
- data/lib/lazylead/task/accuracy/logs.rb +1 -1
- data/lib/lazylead/task/accuracy/onlyll.rb +1 -1
- data/lib/lazylead/task/accuracy/records.rb +1 -1
- data/lib/lazylead/task/accuracy/requirement.rb +1 -1
- data/lib/lazylead/task/accuracy/servers.rb +1 -1
- data/lib/lazylead/task/accuracy/stacktrace.rb +1 -1
- data/lib/lazylead/task/accuracy/testcase.rb +1 -1
- data/lib/lazylead/task/accuracy/wiki.rb +1 -1
- data/lib/lazylead/task/{alert.rb → alert/alert.rb} +6 -6
- data/lib/lazylead/task/alert/alertif.rb +75 -0
- data/lib/lazylead/task/alert/changed_to.rb +58 -0
- data/lib/lazylead/task/assignment.rb +1 -1
- data/lib/lazylead/task/confluence_ref.rb +1 -1
- data/lib/lazylead/task/echo.rb +1 -1
- data/lib/lazylead/task/fix_version.rb +1 -1
- data/lib/lazylead/task/loading.rb +94 -0
- data/lib/lazylead/task/missing_comment.rb +1 -1
- data/lib/lazylead/task/propagate_down.rb +3 -3
- data/lib/lazylead/task/savepoint.rb +1 -1
- data/lib/lazylead/task/svn/diff.rb +1 -1
- data/lib/lazylead/task/svn/grep.rb +1 -1
- data/lib/lazylead/task/svn/touch.rb +1 -1
- data/lib/lazylead/version.rb +2 -2
- data/lib/messages/accuracy.erb +1 -1
- data/lib/messages/alertif.erb +134 -0
- data/lib/messages/created_recently.erb +110 -0
- data/lib/messages/loading.erb +117 -0
- data/readme.md +3 -3
- data/test/lazylead/allocated_test.rb +1 -1
- data/test/lazylead/cc_test.rb +1 -1
- data/test/lazylead/cli/app_test.rb +2 -2
- data/test/lazylead/confluence_test.rb +1 -1
- data/test/lazylead/exchange_test.rb +1 -1
- data/test/lazylead/model_test.rb +1 -1
- data/test/lazylead/opts_test.rb +1 -1
- data/test/lazylead/postman_test.rb +1 -1
- data/test/lazylead/salt_test.rb +1 -1
- data/test/lazylead/smoke_test.rb +1 -1
- data/test/lazylead/smtp_test.rb +1 -1
- data/test/lazylead/system/jira_test.rb +10 -1
- data/test/lazylead/task/accuracy/accuracy_test.rb +1 -1
- data/test/lazylead/task/accuracy/affected_build_test.rb +1 -1
- data/test/lazylead/task/accuracy/attachment_test.rb +1 -1
- data/test/lazylead/task/accuracy/environment_test.rb +1 -1
- data/test/lazylead/task/accuracy/logs_test.rb +1 -1
- data/test/lazylead/task/accuracy/onlyll_test.rb +1 -1
- data/test/lazylead/task/accuracy/records_test.rb +1 -1
- data/test/lazylead/task/accuracy/score_test.rb +2 -2
- data/test/lazylead/task/accuracy/servers_test.rb +1 -1
- data/test/lazylead/task/accuracy/stacktrace_test.rb +1 -1
- data/test/lazylead/task/accuracy/testcase_test.rb +1 -1
- data/test/lazylead/task/accuracy/wiki_test.rb +1 -1
- data/test/lazylead/task/alert/alertif_test.rb +54 -0
- data/test/lazylead/task/{assignee_alert_test.rb → alert/assignee_alert_test.rb} +10 -10
- data/test/lazylead/task/alert/changed_to_test.rb +42 -0
- data/test/lazylead/task/assignment_test.rb +1 -1
- data/test/lazylead/task/confluence_ref_test.rb +1 -1
- data/test/lazylead/task/created_recently_test.rb +53 -0
- data/test/lazylead/task/duedate_test.rb +2 -2
- data/test/lazylead/task/echo_test.rb +1 -1
- data/test/lazylead/task/fix_version_test.rb +1 -1
- data/test/lazylead/task/loading_test.rb +54 -0
- data/test/lazylead/task/missing_comment_test.rb +1 -1
- data/test/lazylead/task/propagate_down_test.rb +1 -1
- data/test/lazylead/task/savepoint_test.rb +1 -1
- data/test/lazylead/task/svn/diff_test.rb +1 -1
- data/test/lazylead/task/svn/grep_test.rb +1 -1
- data/test/lazylead/task/svn/touch_test.rb +1 -1
- data/test/lazylead/version_test.rb +1 -1
- data/test/sqlite_test.rb +1 -1
- data/test/test.rb +1 -1
- data/upgrades/sqlite/001-install-main-lazylead-tables.sql +1 -1
- data/upgrades/sqlite/999.testdata.sql +1 -1
- metadata +37 -22
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# The MIT License
|
4
4
|
#
|
5
|
-
# Copyright (c) 2019-
|
5
|
+
# Copyright (c) 2019-2021 Yurii Dubinka
|
6
6
|
#
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
# of this software and associated documentation files (the "Software"),
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# The MIT License
|
4
4
|
#
|
5
|
-
# Copyright (c) 2019-
|
5
|
+
# Copyright (c) 2019-2021 Yurii Dubinka
|
6
6
|
#
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
# of this software and associated documentation files (the "Software"),
|
@@ -87,9 +87,9 @@ module Lazylead
|
|
87
87
|
# Fill pre-defined fields for sub-tasks from parent ticket
|
88
88
|
# and post comment to ticket with clarification.
|
89
89
|
def propagate
|
90
|
-
expected =
|
90
|
+
expected = @fields.collect { |f| [f, @issue.fields[f]] }.to_h
|
91
91
|
@subtasks.each do |subtask|
|
92
|
-
actual =
|
92
|
+
actual = @fields.collect { |f| [f, subtask.fields[f]] }.to_h
|
93
93
|
diff = diff(expected, actual)
|
94
94
|
next if diff.empty?
|
95
95
|
subtask.save(fields: diff)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# The MIT License
|
4
4
|
#
|
5
|
-
# Copyright (c) 2019-
|
5
|
+
# Copyright (c) 2019-2021 Yurii Dubinka
|
6
6
|
#
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
# of this software and associated documentation files (the "Software"),
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# The MIT License
|
4
4
|
#
|
5
|
-
# Copyright (c) 2019-
|
5
|
+
# Copyright (c) 2019-2021 Yurii Dubinka
|
6
6
|
#
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
# of this software and associated documentation files (the "Software"),
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# The MIT License
|
4
4
|
#
|
5
|
-
# Copyright (c) 2019-
|
5
|
+
# Copyright (c) 2019-2021 Yurii Dubinka
|
6
6
|
#
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
# of this software and associated documentation files (the "Software"),
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# The MIT License
|
4
4
|
#
|
5
|
-
# Copyright (c) 2019-
|
5
|
+
# Copyright (c) 2019-2021 Yurii Dubinka
|
6
6
|
#
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
# of this software and associated documentation files (the "Software"),
|
data/lib/lazylead/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# The MIT License
|
4
4
|
#
|
5
|
-
# Copyright (c) 2019-
|
5
|
+
# Copyright (c) 2019-2021 Yurii Dubinka
|
6
6
|
#
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
8
|
# of this software and associated documentation files (the "Software"),
|
@@ -23,5 +23,5 @@
|
|
23
23
|
# OR OTHER DEALINGS IN THE SOFTWARE.
|
24
24
|
|
25
25
|
module Lazylead
|
26
|
-
VERSION = "0.
|
26
|
+
VERSION = "0.8.0"
|
27
27
|
end
|
data/lib/messages/accuracy.erb
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
</head>
|
74
74
|
<body>
|
75
75
|
<p>Hi,</p>
|
76
|
-
<p>The triage score and accuracy posted to the following tickets
|
76
|
+
<p>The triage score and accuracy posted to the following tickets:</p>
|
77
77
|
<table summary="table with tickets triage score">
|
78
78
|
<tr>
|
79
79
|
<th id="key">Key</th>
|
@@ -0,0 +1,134 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<style> /* CSS styles taken from https://github.com/yegor256/tacit */
|
5
|
+
th {
|
6
|
+
font-weight: 600
|
7
|
+
}
|
8
|
+
|
9
|
+
table tr {
|
10
|
+
border-bottom-width: 2.16px
|
11
|
+
}
|
12
|
+
|
13
|
+
table tr th {
|
14
|
+
border-bottom-width: 2.16px
|
15
|
+
}
|
16
|
+
|
17
|
+
table tr td, table tr th {
|
18
|
+
overflow: hidden;
|
19
|
+
padding: 5.4px 3.6px;
|
20
|
+
line-height: 20px;
|
21
|
+
}
|
22
|
+
|
23
|
+
#summary, #labels {
|
24
|
+
text-align: left;
|
25
|
+
}
|
26
|
+
|
27
|
+
.auto {
|
28
|
+
min-width: auto;
|
29
|
+
white-space: nowrap;
|
30
|
+
}
|
31
|
+
|
32
|
+
a {
|
33
|
+
color: #275a90;
|
34
|
+
text-decoration: none
|
35
|
+
}
|
36
|
+
|
37
|
+
a:hover {
|
38
|
+
text-decoration: underline
|
39
|
+
}
|
40
|
+
|
41
|
+
* {
|
42
|
+
border: 0;
|
43
|
+
border-collapse: separate;
|
44
|
+
border-spacing: 0;
|
45
|
+
box-sizing: border-box;
|
46
|
+
margin: 0;
|
47
|
+
max-width: 100%;
|
48
|
+
padding: 0;
|
49
|
+
vertical-align: baseline;
|
50
|
+
font-family: system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
51
|
+
font-size: 13px;
|
52
|
+
font-stretch: normal;
|
53
|
+
font-style: normal;
|
54
|
+
font-weight: 400;
|
55
|
+
}
|
56
|
+
|
57
|
+
html, body {
|
58
|
+
width: 100%
|
59
|
+
}
|
60
|
+
|
61
|
+
html {
|
62
|
+
height: 100%
|
63
|
+
}
|
64
|
+
|
65
|
+
body {
|
66
|
+
background: #fff;
|
67
|
+
color: #1a1919;
|
68
|
+
padding: 36px
|
69
|
+
}
|
70
|
+
|
71
|
+
code {
|
72
|
+
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
73
|
+
font-size: 12px;
|
74
|
+
border: 0;
|
75
|
+
background: #f2f2d9;
|
76
|
+
border-radius: 3.6px;
|
77
|
+
display: inline-block;
|
78
|
+
line-height: 18px;
|
79
|
+
padding: 3.6px 6.3px 2.7px
|
80
|
+
}
|
81
|
+
</style>
|
82
|
+
<title>Alert If</title>
|
83
|
+
</head>
|
84
|
+
<body>
|
85
|
+
<table summary="tickets">
|
86
|
+
<tr>
|
87
|
+
<th id="key">Key</th>
|
88
|
+
<th id="priority">Priority</th>
|
89
|
+
<th id="status">Last status</th>
|
90
|
+
<th id="duedate">Due date</th>
|
91
|
+
<th id="reporter">Reporter</th>
|
92
|
+
<th id="assignee">Assignee</th>
|
93
|
+
<th id="summary">Summary</th>
|
94
|
+
<th id="comment">Last Comment</th>
|
95
|
+
</tr>
|
96
|
+
<% tickets.sort_by { |t| t.fields["priority"]["id"].to_i }.each do |t| %>
|
97
|
+
<tr>
|
98
|
+
<td>
|
99
|
+
<div class="auto">
|
100
|
+
<a href="<%= t.url %>"><%= t.key %></a>
|
101
|
+
</div>
|
102
|
+
</td>
|
103
|
+
<td><%= t.priority %></td>
|
104
|
+
<td><%= t.status %></td>
|
105
|
+
<td>
|
106
|
+
<div class="auto"><%= t.duedate %></div>
|
107
|
+
</td>
|
108
|
+
<td>
|
109
|
+
<div class="auto">
|
110
|
+
<%= t.reporter.name %>
|
111
|
+
</div>
|
112
|
+
</td>
|
113
|
+
<td>
|
114
|
+
<div class="auto">
|
115
|
+
<%= t.assignee.name %>
|
116
|
+
</div>
|
117
|
+
</td>
|
118
|
+
<td><%= t.summary %></td>
|
119
|
+
<td>
|
120
|
+
<div>
|
121
|
+
By <span style="font-weight: bold"><%= t.last.author %></span>:<br/>
|
122
|
+
<code>
|
123
|
+
<%= t.last.lines.size == 1 ? t.last.lines.first : t.last.lines.map { |l| l.gsub("<", "<") }.join("<br>") %>
|
124
|
+
</code>
|
125
|
+
</div>
|
126
|
+
</td>
|
127
|
+
</tr>
|
128
|
+
<% end %>
|
129
|
+
</table>
|
130
|
+
<p>Posted by
|
131
|
+
<a href="https://github.com/dgroup/lazylead">lazylead v<%= version %></a>.
|
132
|
+
</p>
|
133
|
+
</body>
|
134
|
+
</html>
|
@@ -0,0 +1,110 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<style> /* CSS styles taken from https://github.com/yegor256/tacit */
|
5
|
+
th {
|
6
|
+
font-weight: 600
|
7
|
+
}
|
8
|
+
|
9
|
+
table tr {
|
10
|
+
border-bottom-width: 2.16px
|
11
|
+
}
|
12
|
+
|
13
|
+
table tr th {
|
14
|
+
border-bottom-width: 2.16px
|
15
|
+
}
|
16
|
+
|
17
|
+
table tr td, table tr th {
|
18
|
+
overflow: hidden;
|
19
|
+
padding: 5.4px 3.6px;
|
20
|
+
line-height: 20px;
|
21
|
+
}
|
22
|
+
|
23
|
+
#summary, #labels {
|
24
|
+
text-align: left;
|
25
|
+
}
|
26
|
+
|
27
|
+
.auto {
|
28
|
+
min-width: auto;
|
29
|
+
white-space: nowrap;
|
30
|
+
}
|
31
|
+
|
32
|
+
a {
|
33
|
+
color: #275a90;
|
34
|
+
text-decoration: none
|
35
|
+
}
|
36
|
+
|
37
|
+
a:hover {
|
38
|
+
text-decoration: underline
|
39
|
+
}
|
40
|
+
|
41
|
+
* {
|
42
|
+
border: 0;
|
43
|
+
border-collapse: separate;
|
44
|
+
border-spacing: 0;
|
45
|
+
box-sizing: border-box;
|
46
|
+
margin: 0;
|
47
|
+
max-width: 100%;
|
48
|
+
padding: 0;
|
49
|
+
vertical-align: baseline;
|
50
|
+
font-family: system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
51
|
+
font-size: 13px;
|
52
|
+
font-stretch: normal;
|
53
|
+
font-style: normal;
|
54
|
+
font-weight: 400;
|
55
|
+
}
|
56
|
+
|
57
|
+
html, body {
|
58
|
+
width: 100%
|
59
|
+
}
|
60
|
+
|
61
|
+
html {
|
62
|
+
height: 100%
|
63
|
+
}
|
64
|
+
|
65
|
+
body {
|
66
|
+
background: #fff;
|
67
|
+
color: #1a1919;
|
68
|
+
padding: 36px
|
69
|
+
}
|
70
|
+
</style>
|
71
|
+
<title>Created recently</title>
|
72
|
+
</head>
|
73
|
+
<body>
|
74
|
+
<p>Hi,</p>
|
75
|
+
<p>The followed tickets created recently:</p>
|
76
|
+
<table summary="recent tickets">
|
77
|
+
<tr>
|
78
|
+
<th id="key">Key</th>
|
79
|
+
<th id="duedate">Due date</th>
|
80
|
+
<th id="priority">Priority</th>
|
81
|
+
<th id="reporter">Reporter</th>
|
82
|
+
<th id="summary">Summary</th>
|
83
|
+
<th id="labels">Labels</th>
|
84
|
+
</tr>
|
85
|
+
<% tickets.sort_by { |s| s.fields["priority"]["id"].to_i }.each do |t| %>
|
86
|
+
<tr>
|
87
|
+
<td>
|
88
|
+
<div class="auto">
|
89
|
+
<a href="<%= t.url %>"><%= t.key %></a>
|
90
|
+
</div>
|
91
|
+
</td>
|
92
|
+
<td>
|
93
|
+
<div class="auto"><%= t.duedate %></div>
|
94
|
+
</td>
|
95
|
+
<td><%= t.priority %></td>
|
96
|
+
<td>
|
97
|
+
<div class="auto">
|
98
|
+
<%= t.reporter.name %>
|
99
|
+
</div>
|
100
|
+
</td>
|
101
|
+
<td><%= t.summary %></td>
|
102
|
+
<td><%= t.labels.join ", " %></td>
|
103
|
+
</tr>
|
104
|
+
<% end %>
|
105
|
+
</table>
|
106
|
+
<p>Posted by
|
107
|
+
<a href="https://github.com/dgroup/lazylead">lazylead v<%= version %></a>.
|
108
|
+
</p>
|
109
|
+
</body>
|
110
|
+
</html>
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<style> /* CSS styles taken from https://github.com/yegor256/tacit */
|
5
|
+
th {
|
6
|
+
font-weight: 600
|
7
|
+
}
|
8
|
+
|
9
|
+
table tr {
|
10
|
+
border-bottom-width: 2.16px
|
11
|
+
}
|
12
|
+
|
13
|
+
table tr th {
|
14
|
+
border-bottom-width: 2.16px
|
15
|
+
}
|
16
|
+
|
17
|
+
table tr td, table tr th {
|
18
|
+
overflow: hidden;
|
19
|
+
padding: 5.4px 3.6px;
|
20
|
+
line-height: 20px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.auto {
|
24
|
+
min-width: auto;
|
25
|
+
white-space: nowrap;
|
26
|
+
}
|
27
|
+
|
28
|
+
a {
|
29
|
+
color: #275a90;
|
30
|
+
text-decoration: none
|
31
|
+
}
|
32
|
+
|
33
|
+
a:hover {
|
34
|
+
text-decoration: underline
|
35
|
+
}
|
36
|
+
|
37
|
+
* {
|
38
|
+
border: 0;
|
39
|
+
border-collapse: separate;
|
40
|
+
border-spacing: 0;
|
41
|
+
box-sizing: border-box;
|
42
|
+
margin: 0;
|
43
|
+
max-width: 100%;
|
44
|
+
padding: 0;
|
45
|
+
vertical-align: baseline;
|
46
|
+
font-family: system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
47
|
+
font-size: 13px;
|
48
|
+
font-stretch: normal;
|
49
|
+
font-style: normal;
|
50
|
+
font-weight: 400;
|
51
|
+
}
|
52
|
+
|
53
|
+
html, body {
|
54
|
+
width: 100%
|
55
|
+
}
|
56
|
+
|
57
|
+
html {
|
58
|
+
height: 100%
|
59
|
+
}
|
60
|
+
|
61
|
+
body {
|
62
|
+
background: #fff;
|
63
|
+
color: #1a1919;
|
64
|
+
padding: 36px
|
65
|
+
}
|
66
|
+
</style>
|
67
|
+
<title>Loading</title>
|
68
|
+
</head>
|
69
|
+
<body>
|
70
|
+
<table summary="tickets">
|
71
|
+
<tr>
|
72
|
+
<th id="uid">ID</th>
|
73
|
+
<th id="name">User</th>
|
74
|
+
<th id="total">
|
75
|
+
<a href="https://jira.spring.io/issues/?jql=<%= CGI.escape(jql) %>">Assigned From</a>
|
76
|
+
</th>
|
77
|
+
<th id="duedate">Next Due date</th>
|
78
|
+
</tr>
|
79
|
+
<% assignments.each do |teammate, assignment| %>
|
80
|
+
<% if assignment.free? %>
|
81
|
+
<tr style="background: #FCEC88">
|
82
|
+
<% else %>
|
83
|
+
<tr>
|
84
|
+
<% end %>
|
85
|
+
<td>
|
86
|
+
<div class="auto"><a href="<%= user_link %>"><%= teammate %></a></div>
|
87
|
+
</td>
|
88
|
+
<td>
|
89
|
+
<div class="auto"><%= assignment.name %></div>
|
90
|
+
</td>
|
91
|
+
<td>
|
92
|
+
<div class="auto">
|
93
|
+
<% if assignment.free? %>
|
94
|
+
<span style="color: red">0</span>
|
95
|
+
<% else %>
|
96
|
+
<a href="https://jira.spring.io/issues/?jql=<%= CGI.escape("#{jql} and assignee=#{teammate}") %>"><%= assignment.size %></a>
|
97
|
+
<% end %>
|
98
|
+
</div>
|
99
|
+
</td>
|
100
|
+
<td>
|
101
|
+
<div class="auto">
|
102
|
+
<% if assignment.next.kind_of?(Date) && Date.current.after?(assignment.next) %>
|
103
|
+
<span style="color: red"><%= assignment.next %></span>
|
104
|
+
<% else %>
|
105
|
+
<%= assignment.next %>
|
106
|
+
<% end %>
|
107
|
+
</div>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<% end %>
|
111
|
+
</table>
|
112
|
+
<br/>
|
113
|
+
<p>Posted by
|
114
|
+
<a href="https://github.com/dgroup/lazylead">lazylead v<%= version %></a>.
|
115
|
+
</p>
|
116
|
+
</body>
|
117
|
+
</html>
|