-
Notifications
You must be signed in to change notification settings - Fork 1
/
due_date_expired.erb
97 lines (86 loc) · 2.07 KB
/
due_date_expired.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<style>
/* CSS styles taken from https://github.com/yegor256/tacit */
th {
font-weight: 600
}
table tr {
border-bottom-width: 2.16px
}
table tr th {
border-bottom-width: 2.16px
}
table tr td, table tr th {
overflow: hidden;
padding: 5.4px 3.6px
}
a {
color: #275a90;
text-decoration: none
}
a:hover {
text-decoration: underline
}
* {
border: 0;
border-collapse: separate;
border-spacing: 0;
box-sizing: border-box;
margin: 0;
max-width: 100%;
padding: 0;
vertical-align: baseline;
font-family: system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-stretch: normal;
font-style: normal;
font-weight: 400;
line-height: 29.7px
}
html, body {
width: 100%
}
html {
height: 100%
}
body {
background: #fff;
color: #1a1919;
padding: 36px
}
</style>
<title>Expired due date</title>
</head>
<body>
<p>Hi <%= addressee %>,</p>
<p>The due date for these tasks is expired or seems to expire soon. Please plan
them accordingly or actualize the
<span style="font-weight:bold">"Due date"</span> field for the following
ticket(s):</p>
<table summary="table with ticket(s) which have expired due dates">
<tr>
<th id="key">Key</th>
<th id="duedate">Due date</th>
<th id="priority">Priority</th>
<th id="reporter">Reporter</th>
<th id="summary">Summary</th>
</tr>
<% tickets.each do |ticket| %>
<tr>
<td><a href="<%= ticket.url %>"><%= ticket.key %></a></td>
<td><%= ticket.duedate %></td>
<td><%= ticket.priority %></td>
<td><%= ticket.reporter.name %></td>
<td><%= ticket.summary %></td>
</tr>
<% end %>
</table>
<p>In case you have no idea what date should be set - remove obsolete date or
ask your lead to fill it.</p>
<p>Posted by
<a href="https://github.com/dgroup/lazylead">lazylead v<%= version %></a>.
</p>
</body>
</html>