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

tn 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 e2c6bd0  remove delete file button from tools, its present in the 
review page
e2c6bd0 is described below

commit e2c6bd030db77ef16e4bb35478cdec9424d5a885
Author: Thomas Neidhart <[email protected]>
AuthorDate: Tue Apr 1 20:41:25 2025 +0200

    remove delete file button from tools, its present in the review page
---
 atr/templates/draft-tools.html | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/atr/templates/draft-tools.html b/atr/templates/draft-tools.html
index 33d3f4b..38381cc 100644
--- a/atr/templates/draft-tools.html
+++ b/atr/templates/draft-tools.html
@@ -54,13 +54,4 @@
       <button type="submit" class="btn btn-outline-secondary">Generate 
CycloneDX SBOM (.cdx.json)</button>
     </form>
   {% endif %}
-
-  <h3>Delete file</h3>
-  <p>This tool deletes the file from the candidate draft.</p>
-  <form method="post"
-        action="{{ as_url(routes.draft.delete_file, project_name=project_name, 
version_name=version_name, file_path=file_path) }}">
-    <button type="submit"
-            class="btn btn-danger"
-            onclick="return confirm('Are you sure you want to delete this 
file?')">Delete file</button>
-  </form>
 {% endblock content %}


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

Reply via email to