Skip to content

Commit 49616fd

Browse files
committed
Fix New Patch link
It was pointing to Current CF, not Open CF.
1 parent 721f08a commit 49616fd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pgcommitfest/commitfest/templates/base.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@
2525
<li class="nav-item">
2626
<a class="nav-link{% if request.resolver_match.url_name == 'home' or request.path == '/' %} active{% endif %}" href="/">Home</a>
2727
</li>
28-
{% if current_cf %}
2928
<li class="nav-item">
30-
<a class="nav-link{% if '/new/' in request.path %} active{% endif %}" href="/{{current_cf.id}}/new/">New Patch</a>
29+
<a class="nav-link{% if '/new/' in request.path %} active{% endif %}" href="/{{open_cf.id}}/new/">New Patch</a>
3130
</li>
32-
{% endif %}
33-
{% if current_cf %}
3431
<li class="nav-item">
3532
<a class="nav-link{% if cf and cf.is_in_progress %} active{% endif %}" href="/current/">Current CF</a>
3633
</li>
37-
{% endif %}
3834
<li class="nav-item">
3935
<a class="nav-link{% if cf and cf.is_open_regular %} active{% endif %}" href="/open/">Open CF</a>
4036
</li>

0 commit comments

Comments
 (0)