This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new 68e4503  Add a link to the vote thread on the vote resolution page
68e4503 is described below

commit 68e45035442204af9aed8b4539aae0ad0aa28f70
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Jul 2 16:54:43 2025 +0100

    Add a link to the vote thread on the vote resolution page
---
 atr/routes/resolve.py                | 2 ++
 atr/templates/resolve-tabulated.html | 8 +++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/atr/routes/resolve.py b/atr/routes/resolve.py
index 423b43a..a3ba585 100644
--- a/atr/routes/resolve.py
+++ b/atr/routes/resolve.py
@@ -237,6 +237,7 @@ async def tabulated_selected_post(session: 
routes.CommitterSession, project_name
     outcome = None
     committee = None
     thread_id = None
+    archive_url = None
     fetch_error = None
     if await hidden_form.validate_on_submit():
         # TODO: Just pass the thread_id itself instead?
@@ -276,6 +277,7 @@ async def tabulated_selected_post(session: 
routes.CommitterSession, project_name
         outcome=outcome,
         resolve_form=resolve_form,
         fetch_error=fetch_error,
+        archive_url=archive_url,
     )
 
 
diff --git a/atr/templates/resolve-tabulated.html 
b/atr/templates/resolve-tabulated.html
index 9db8c1d..e011cf6 100644
--- a/atr/templates/resolve-tabulated.html
+++ b/atr/templates/resolve-tabulated.html
@@ -18,7 +18,13 @@
 
   <h2>Tabulated votes</h2>
   <p>
-    This page attempts to automatically tabulate votes from the vote email 
thread for you. It is not always possible to parse the votes accurately, so you 
should check the results carefully. <strong>Do not use this page to decide how 
to resolve the vote without manual review.</strong>
+    This page attempts to automatically tabulate votes from
+    {% if archive_url %}
+      <a href="{{ archive_url }}" target="_blank">the vote email thread</a>
+    {% else %}
+      the vote email thread
+    {% endif %}
+    for you. It is not always possible to parse the votes accurately, so you 
should check the results carefully. <strong>Do not use this page to decide how 
to resolve the vote without manual review.</strong>
   </p>
   {% if tabulated_votes %}
     <table class="table table-striped">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to