Skip to content

Commit 634adaf

Browse files
committed
Show "Latest email" column as a relative time
1 parent 49fd358 commit 634adaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgcommitfest/commitfest/templates/commitfest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ <h3>{{p.is_open|yesno:"Active patches,Closed patches"}}</h3>
124124
<td>{{p.reviewer_names|default:''}}</td>
125125
<td>{{p.committer|default:''}}</td>
126126
<td>{{p.num_cfs}}</td>
127-
<td style="white-space: nowrap;">{{p.lastmail|date:"Y-m-d"}}<br/>{{p.lastmail|date:"H:i"}}</td>
127+
<td style="white-space: nowrap;" title="{{p.lastmail}}">{%if p.lastmail %}{{p.lastmail|timesince}} ago{%endif%}</td>
128128
{%if user.is_staff%}
129129
<td style="white-space: nowrap;"><input type="checkbox" class="sender_checkbox" id="send_authors_{{p.id}}">Author<br/><input type="checkbox" class="sender_checkbox" id="send_reviewers_{{p.id}}">Reviewer</td>
130130
{%endif%}

0 commit comments

Comments
 (0)