21
21
<!-- 'New' Column -->
22
22
< div class ="col-md-4 kanban-col ">
23
23
< div class ="jumbotron kanban-new ">
24
- < h5 class ="text-center bg-info-light "> < i class ="material-icons-outlined align-bottom "> local_activity</ i > New
25
- ({{ new_tickets|length }})</ h5 >
24
+ < h5 class ="text-center bg-info-light "> < i class ="material-icons-outlined align-bottom "> local_activity</ i >
25
+ New ({{ new_tickets|length }})
26
+ </ h5 >
26
27
{% for ticket in new_tickets %}
27
28
< div class ="card ">
28
29
< div class ="card-body ">
@@ -31,18 +32,9 @@ <h6 class="card-title">
31
32
title ="{{ ticket.description }} "> {{ ticket.summary }}
32
33
</ a >
33
34
34
- <!-- Priority Badge -->
35
- < span class ="text-muted ">
36
- < span class ="badge
37
- {% if ticket.priority == 'Low' %}
38
- badge-success
39
- {% elif ticket.priority == 'Medium' %}
40
- badge-warning
41
- {% elif ticket.priority == 'High' %}
42
- badge-danger
43
- {% endif %}
44
- float-right "> {{ ticket.priority }}
45
- </ span >
35
+ <!-- Assigned To -->
36
+ < span class ="float-right text-muted " data-toggle ="tooltip " title ="Assignee ">
37
+ {{ ticket.assigned_to }}
46
38
</ span >
47
39
</ h6 >
48
40
@@ -55,6 +47,20 @@ <h6 class="card-title">
55
47
data-placement ="left "> build</ i >
56
48
{% endif %}
57
49
50
+ <!-- Priority Badge -->
51
+ < span class ="text-muted ">
52
+ < span class ="badge
53
+ {% if ticket.priority == 'Low' %}
54
+ badge-success
55
+ {% elif ticket.priority == 'Medium' %}
56
+ badge-warning
57
+ {% elif ticket.priority == 'High' %}
58
+ badge-danger
59
+ {% endif %}
60
+ "> {{ ticket.priority }}
61
+ </ span >
62
+ </ span >
63
+
58
64
<!-- Tags -->
59
65
{% if ticket.tags.names %}
60
66
< span >
@@ -67,8 +73,9 @@ <h6 class="card-title">
67
73
<!-- Status change via dropdown only available if User is Submitter or Staff -->
68
74
{% if request.user == ticket.submitted_by or request.user.is_staff %}
69
75
< div class ="btn-group float-right ">
70
- < button class ="btn btn-secondary btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
71
- aria-expanded ="false "> ...
76
+ < button class ="btn btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
77
+ aria-expanded ="false "> < span class ="material-icons text-muted ">
78
+ more_vert</ span >
72
79
</ button >
73
80
< div class ="dropdown-menu dropdown-menu-right ">
74
81
< h6 class ="dropdown-header "> Move to:</ h6 >
@@ -82,6 +89,7 @@ <h6 class="dropdown-header">Move to:</h6>
82
89
</ div >
83
90
</ div >
84
91
{% endif %}
92
+
85
93
</ div >
86
94
</ div >
87
95
{% endfor %}
@@ -102,30 +110,35 @@ <h6 class="card-title">
102
110
title ="{{ ticket.description }} "> {{ ticket.summary }}
103
111
</ a >
104
112
105
- <!-- Priority Badge -->
106
- < span class ="text-muted ">
107
- < span class ="badge
108
- {% if ticket.priority == 'Low' %}
109
- badge-success
110
- {% elif ticket.priority == 'Medium' %}
111
- badge-warning
112
- {% elif ticket.priority == 'High' %}
113
- badge-danger
114
- {% endif %}
115
- float-right "> {{ ticket.priority }}
116
- </ span >
113
+ <!-- Assigned To -->
114
+ < span class ="float-right text-muted " data-toggle ="tooltip " title ="Assignee "> {{ ticket.assigned_to }}
117
115
</ span >
116
+
118
117
</ h6 >
119
118
120
119
<!-- Bug/Feature Icon -->
121
120
{% if ticket.ticket_type == "Bug" %}
122
- < i class ="material-icons-outlined float-left " data-toggle ="tooltip " data-placement ="left "
121
+ < i class ="material-icons-outlined align-middle " data-toggle ="tooltip " data-placement ="left "
123
122
title ="Bug "> bug_report</ i >
124
123
{% elif ticket.ticket_type == "Feature" %}
125
- < i class ="material-icons-outlined float-left " data-toggle ="tooltip " data-placement ="left "
124
+ < i class ="material-icons-outlined align-middle " data-toggle ="tooltip " data-placement ="left "
126
125
title ="Feature "> build</ i >
127
126
{% endif %}
128
127
128
+ <!-- Priority Badge -->
129
+ < span class ="text-muted ">
130
+ < span class ="badge
131
+ {% if ticket.priority == 'Low' %}
132
+ badge-success
133
+ {% elif ticket.priority == 'Medium' %}
134
+ badge-warning
135
+ {% elif ticket.priority == 'High' %}
136
+ badge-danger
137
+ {% endif %}
138
+ "> {{ ticket.priority }}
139
+ </ span >
140
+ </ span >
141
+
129
142
<!-- Tags -->
130
143
{% if ticket.tags.names %}
131
144
< span >
@@ -138,8 +151,9 @@ <h6 class="card-title">
138
151
<!-- Status change via dropdown only available if User is Submitter or Staff -->
139
152
{% if request.user == ticket.submitted_by or request.user.is_staff %}
140
153
< div class ="btn-group float-right ">
141
- < button class ="btn btn-secondary btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
142
- aria-expanded ="false "> ...
154
+ < button class ="btn btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
155
+ aria-expanded ="false ">
156
+ < span class ="material-icons text-muted "> more_vert</ span >
143
157
</ button >
144
158
< div class ="dropdown-menu dropdown-menu-right ">
145
159
< h6 class ="dropdown-header "> Move to:</ h6 >
@@ -172,30 +186,35 @@ <h6 class="card-title">
172
186
< a href ="{% url 'view_ticket' ticket.id %} " data-toggle ="tooltip " data-placement ="bottom "
173
187
title ="{{ ticket.description }} "> {{ ticket.summary }}
174
188
</ a >
175
- <!-- Priority Badge -->
176
- < span class ="text-muted ">
177
- < span class ="badge
178
- {% if ticket.priority == 'Low' %}
179
- badge-success
180
- {% elif ticket.priority == 'Medium' %}
181
- badge-warning
182
- {% elif ticket.priority == 'High' %}
183
- badge-danger
184
- {% endif %}
185
- float-right "> {{ ticket.priority }}
186
- </ span >
189
+
190
+ <!-- Assigned To -->
191
+ < span class ="float-right text-muted " data-toggle ="tooltip " title ="Assignee "> {{ ticket.assigned_to }}
187
192
</ span >
188
193
</ h6 >
189
194
190
195
<!-- Bug/Feature Icon -->
191
196
{% if ticket.ticket_type == "Bug" %}
192
- < i class ="material-icons-outlined float-left " data-toggle ="tooltip " data-placement ="left "
197
+ < i class ="material-icons-outlined align-middle " data-toggle ="tooltip " data-placement ="left "
193
198
title ="Bug "> bug_report</ i >
194
199
{% elif ticket.ticket_type == "Feature" %}
195
- < i class ="material-icons-outlined float-left " data-toggle ="tooltip " data-placement ="left "
200
+ < i class ="material-icons-outlined align-middle " data-toggle ="tooltip " data-placement ="left "
196
201
title ="Feature "> build</ i >
197
202
{% endif %}
198
203
204
+ <!-- Priority Badge -->
205
+ < span class ="text-muted ">
206
+ < span class ="badge
207
+ {% if ticket.priority == 'Low' %}
208
+ badge-success
209
+ {% elif ticket.priority == 'Medium' %}
210
+ badge-warning
211
+ {% elif ticket.priority == 'High' %}
212
+ badge-danger
213
+ {% endif %}
214
+ "> {{ ticket.priority }}
215
+ </ span >
216
+ </ span >
217
+
199
218
<!-- Tags -->
200
219
{% if ticket.tags.names %}
201
220
< span >
@@ -208,8 +227,9 @@ <h6 class="card-title">
208
227
<!-- Status change via dropdown only available if User is Submitter or Staff -->
209
228
{% if request.user == ticket.submitted_by or request.user.is_staff %}
210
229
< div class ="btn-group float-right ">
211
- < button class ="btn btn-secondary btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
212
- aria-expanded ="false "> ...
230
+ < button class ="btn btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
231
+ aria-expanded ="false ">
232
+ < span class ="material-icons text-muted "> more_vert</ span >
213
233
</ button >
214
234
< div class ="dropdown-menu dropdown-menu-right ">
215
235
< h6 class ="dropdown-header "> Move to:</ h6 >
@@ -243,19 +263,10 @@ <h6 class="card-title">
243
263
title ="{{ ticket.description }} "> {{ ticket.summary }}
244
264
</ a >
245
265
246
- <!-- Priority Badge -->
247
- < span class ="text-muted ">
248
- < span class ="badge
249
- {% if ticket.priority == 'Low' %}
250
- badge-success
251
- {% elif ticket.priority == 'Medium' %}
252
- badge-warning
253
- {% elif ticket.priority == 'High' %}
254
- badge-danger
255
- {% endif %}
256
- float-right "> {{ ticket.priority }}
257
- </ span >
266
+ <!-- Assigned To -->
267
+ < span class ="float-right text-muted " data-toggle ="tooltip " title ="Assignee "> {{ ticket.assigned_to }}
258
268
</ span >
269
+
259
270
</ h6 >
260
271
261
272
<!-- Bug/Feature Icon -->
@@ -267,6 +278,20 @@ <h6 class="card-title">
267
278
data-placement ="left "> build</ i >
268
279
{% endif %}
269
280
281
+ <!-- Priority Badge -->
282
+ < span class ="text-muted ">
283
+ < span class ="badge
284
+ {% if ticket.priority == 'Low' %}
285
+ badge-success
286
+ {% elif ticket.priority == 'Medium' %}
287
+ badge-warning
288
+ {% elif ticket.priority == 'High' %}
289
+ badge-danger
290
+ {% endif %}
291
+ "> {{ ticket.priority }}
292
+ </ span >
293
+ </ span >
294
+
270
295
<!-- Tags -->
271
296
{% if ticket.tags.names %}
272
297
< span >
@@ -279,8 +304,9 @@ <h6 class="card-title">
279
304
<!-- Status change via dropdown only available if User is Submitter or Staff -->
280
305
{% if request.user == ticket.submitted_by or request.user.is_staff %}
281
306
< div class ="btn-group float-right ">
282
- < button class ="btn btn-secondary btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
283
- aria-expanded ="false "> ...
307
+ < button class ="btn btn-sm " type ="button " data-toggle ="dropdown " aria-haspopup ="true "
308
+ aria-expanded ="false ">
309
+ < span class ="material-icons text-muted "> more_vert</ span >
284
310
</ button >
285
311
< div class ="dropdown-menu dropdown-menu-right ">
286
312
< h6 class ="dropdown-header "> Move to:</ h6 >
0 commit comments