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 c80691f Link drafts on the review page to their promotion forms
c80691f is described below
commit c80691febe71d1f0e333ee8dac2b79ed31fb8ceb
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Apr 4 20:40:09 2025 +0100
Link drafts on the review page to their promotion forms
---
atr/templates/draft-directory.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/atr/templates/draft-directory.html
b/atr/templates/draft-directory.html
index a744d48..fec8a55 100644
--- a/atr/templates/draft-directory.html
+++ b/atr/templates/draft-directory.html
@@ -34,13 +34,17 @@
{% if release.project.committee %}
<h6 class="card-subtitle mb-2 text-muted">{{
release.project.committee.display_name }}</h6>
{% endif %}
- <div class="d-flex gap-2">
+ <div class="d-flex gap-2 mb-2">
<a href="{{ as_url(routes.draft.review,
project_name=release.project.name, version_name=release.version) }}"
class="btn btn-sm btn-outline-primary">Review</a>
<a href="{{ as_url(routes.draft.viewer,
project_name=release.project.name, version_name=release.version) }}"
class="btn btn-sm btn-outline-primary">View files</a>
<a href="{{ as_url(routes.draft.add_file,
project_name=release.project.name, version_name=release.version) }}"
class="btn btn-sm btn-outline-primary">Upload file</a>
+ </div>
+ <div class="d-flex gap-2">
+ <a href="{{ as_url(routes.draft.promote) }}#{{ release.name }}"
+ class="btn btn-sm btn-outline-success">Promote draft</a>
<button class="btn btn-sm btn-outline-danger"
data-bs-toggle="modal"
data-bs-target="#delete-{{ release_id }}">Delete
draft</button>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]