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 2bd97a8  Make the voting round more conspicuous in the interface
2bd97a8 is described below

commit 2bd97a8c36b07c35eba3e9e153771fb60d551256
Author: Sean B. Palmer <s...@miscoranda.com>
AuthorDate: Mon Jun 30 19:41:06 2025 +0100

    Make the voting round more conspicuous in the interface
---
 atr/routes/vote.py                             |  2 +-
 atr/templates/check-selected-release-info.html | 18 ++++++------------
 atr/templates/check-selected.html              |  5 +++++
 3 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/atr/routes/vote.py b/atr/routes/vote.py
index 5d452da..e3de895 100644
--- a/atr/routes/vote.py
+++ b/atr/routes/vote.py
@@ -37,7 +37,7 @@ import atr.tasks.message as message
 import atr.template as template
 import atr.util as util
 
-# "CAH5JyZo8QnWmg9CwRSwWY=givhxw4nilyenjo71fkdk81j5...@mail.gmail.com"
+# TEST_MID: Final[str | None] = 
"CAH5JyZo8QnWmg9CwRSwWY=givhxw4nilyenjo71fkdk81j5...@mail.gmail.com"
 TEST_MID: Final[str | None] = None
 _THREAD_URLS_FOR_DEVELOPMENT: Final[dict[str, str]] = {
     "CAH5JyZo8QnWmg9CwRSwWY=givhxw4nilyenjo71fkdk81j5...@mail.gmail.com": 
"https://lists.apache.org/thread/z0o7xnjnyw2o886rxvvq2ql4rdfn754w";,
diff --git a/atr/templates/check-selected-release-info.html 
b/atr/templates/check-selected-release-info.html
index 0a2a884..44576be 100644
--- a/atr/templates/check-selected-release-info.html
+++ b/atr/templates/check-selected-release-info.html
@@ -25,18 +25,12 @@
             </a>
             {% if revision_editor %}by {{ revision_editor }}{% endif %}
           </p>
-        {% elif release.project.committee.is_podling %}
-          {% if release.podling_thread_id %}
-            <p>
-              <strong>Voting round:</strong> 2
-              (<a href="https://lists.apache.org/thread/{{ 
release.podling_thread_id }}"
-   target="_blank">round 1 results</a>)
-            </p>
-          {% else %}
-            <p>
-              <strong>Voting round:</strong> 1
-            </p>
-          {% endif %}
+        {% elif release.podling_thread_id %}
+          <p>
+            <strong>Previous round:</strong>
+            <a href="https://lists.apache.org/thread/{{ 
release.podling_thread_id }}"
+               target="_blank">Vote thread</a>
+          </p>
         {% endif %}
       </div>
     </div>
diff --git a/atr/templates/check-selected.html 
b/atr/templates/check-selected.html
index a21f737..f37e81f 100644
--- a/atr/templates/check-selected.html
+++ b/atr/templates/check-selected.html
@@ -60,6 +60,11 @@
     <h1>
       Vote on <strong>{{ release.project.short_display_name }}</strong> <em>{{ 
release.version }}</em>
     </h1>
+    {% if release.podling_thread_id %}
+      <p class="fs-3 mb-4">Second round of voting</p>
+    {% elif release.committee.is_podling %}
+      <p class="fs-3 mb-4">First round of voting</p>
+    {% endif %}
     <p>
       The
       {% if release.podling_thread_id %}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@tooling.apache.org
For additional commands, e-mail: commits-h...@tooling.apache.org

Reply via email to