summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelte Fennema-Nio2024-09-24 20:28:01 +0000
committerMagnus Hagander2024-09-24 20:28:01 +0000
commitd14dfe247e1311a2c315d6e9c32d5c2eed807acd (patch)
tree7a4f2a24dd7f847c15f59e91e061449e974cff43
parent07bf0e167f8a3c55e662743ecd7be70d66fe72f9 (diff)
Make homepage more useful
A long list of ancient commitfests isn't super useful. This puts a few links at the top of the page that cover the most common usages of the commitfest app.
-rw-r--r--pgcommitfest/commitfest/templates/home.html24
1 files changed, 17 insertions, 7 deletions
diff --git a/pgcommitfest/commitfest/templates/home.html b/pgcommitfest/commitfest/templates/home.html
index 951fa8e..3edd8b9 100644
--- a/pgcommitfest/commitfest/templates/home.html
+++ b/pgcommitfest/commitfest/templates/home.html
@@ -1,16 +1,19 @@
{%extends "base.html"%}
{%block contents%}
<p>
-The following commitfests exist in the system.
-{%if inprogresscf%}Current review work is done in commitfest <a href="/{{inprogresscf.id}}/">{{inprogresscf}}</a>.{%endif%}
-{%if opencf%}New patches should be submitted to commitfest <a href="/{{opencf.id}}/">{{opencf}}</a>.{%endif%}
+{%if inprogresscf%}A commitfest is currently in progress: <a href="/{{inprogresscf.id}}/">{{inprogresscf}}</a>.{%endif%}
+</p>
+<p>
+Useful links that you can use and bookmark:
</p>
<ul>
-{%for c in commitfests%}
- <li><a href="/{{c.id}}/">{{c}}</a> ({{c.statusstring}}{%if c.startdate%} - {{c.periodstring}}{%endif%})</li>
-{%endfor%}
+ <li><a href="/https/git.postgresql.org/current/">All patches in the current commitfest</a></li>
+ <li><a href="/https/git.postgresql.org/open/">All patches in the open commitfest</a></li>
+ <li><a href="/https/git.postgresql.org/open/new/">Create a new commitfest entry</a></li>
+ <li><a href="/https/git.postgresql.org/current/?author=-3">Your entries in the current commitfest</a></li>
+ <li><a href="/https/git.postgresql.org/open/?author=-3">Your entries in the open commitfest</a></li>
+ <li><a href="/https/git.postgresql.org/current/?reviewer=-3">Entries that you are reviewing in current commitfest</a></li>
</ul>
-<br/>
<h3>Commands</h3>
<form method="GET" action="/https/git.postgresql.org/search/" class="form-inline">
<div class="form-group">
@@ -18,4 +21,11 @@ The following commitfests exist in the system.
</div>
<button type="submit" class="btn btn-default">Search</button>
</form>
+<h3>List of commitfests</h3>
+<ul>
+{%for c in commitfests%}
+ <li><a href="/{{c.id}}/">{{c}}</a> ({{c.statusstring}}{%if c.startdate%} - {{c.periodstring}}{%endif%})</li>
+{%endfor%}
+</ul>
+<br/>
{%endblock%}