You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2025/05/07 15:01:27 UTC

(tooling-trusted-release) branch main updated: Rename a route

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 c78fd9e  Rename a route
c78fd9e is described below

commit c78fd9e24546ad861aa8f7868f75721e91c6ad7b
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Wed May 7 16:01:11 2025 +0100

    Rename a route
---
 atr/routes/announce.py                                                | 4 +---
 .../{preview-announce-release.html => announce-selected.html}         | 0
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/atr/routes/announce.py b/atr/routes/announce.py
index 0eae3bf..c3cd1f6 100644
--- a/atr/routes/announce.py
+++ b/atr/routes/announce.py
@@ -116,9 +116,7 @@ async def selected_post(
             project_name, version_name, with_committee=True, phase=models.ReleasePhase.RELEASE_PREVIEW
         )
         await quart.flash(error_message, "error")
-        return await quart.render_template(
-            "preview-announce-release.html", release=release, announce_form=announce_form
-        )
+        return await quart.render_template("announce-selected.html", release=release, announce_form=announce_form)
 
     subject = str(announce_form.subject.data)
     body = str(announce_form.body.data)
diff --git a/atr/templates/preview-announce-release.html b/atr/templates/announce-selected.html
similarity index 100%
rename from atr/templates/preview-announce-release.html
rename to atr/templates/announce-selected.html


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