Skip to content

Commit 06da779

Browse files
committed
Show duration of commitfests in more places
1 parent 62739ac commit 06da779

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pgcommitfest/commitfest/templates/patch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<tr>
9191
<th>Status</th>
9292
<td>{%for c in patch_commitfests %}
93-
<div style="margin-bottom: 3px;"><a href="/{{c.commitfest.id}}/">{{c.commitfest}}</a>: <span class="label label-{{c.status|patchstatuslabel}}">{{c.statusstring}}</span></div>
93+
<div style="margin-bottom: 3px;"><a href="/{{c.commitfest.id}}/">{{c.commitfest}}</a> ({{c.commitfest.periodstring}}): <span class="label label-{{c.status|patchstatuslabel}}">{{c.statusstring}}</span></div>
9494
{%endfor%}
9595
</td>
9696
</tr>

pgcommitfest/commitfest/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def commitfest(request, cfid):
613613
"statussummary": statussummary,
614614
"all_tags": {t.id: t for t in Tag.objects.all()},
615615
"has_filter": patch_list.has_filter,
616-
"title": cf.title,
616+
"title": f"{cf.title} ({cf.periodstring})",
617617
"grouping": patch_list.sortkey == 0,
618618
"sortkey": patch_list.sortkey,
619619
"openpatchids": [p["id"] for p in patch_list.patches if p["is_open"]],

0 commit comments

Comments
 (0)