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 ec71d80  Fix the rsync command display
ec71d80 is described below

commit ec71d8089f5eddf087b72d33d59d3dc067e580d4
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Apr 23 17:17:08 2025 +0100

    Fix the rsync command display
---
 atr/templates/draft-add-files.html | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/atr/templates/draft-add-files.html 
b/atr/templates/draft-add-files.html
index c701be9..8d7c382 100644
--- a/atr/templates/draft-add-files.html
+++ b/atr/templates/draft-add-files.html
@@ -26,13 +26,11 @@
     Upload to <strong>{{ release.project.short_display_name }}</strong> <em>{{ 
release.version }}</em>
   </h1>
 
-  <div class="card">
-    <div class="card-body">
-      <a href="#file-upload" class="btn btn-outline-primary me-2">Use the 
browser</a>
-      <a href="#svn-upload" class="btn btn-outline-primary me-2">Use SVN</a>
-      <a href="#rsync-upload" class="btn btn-outline-primary">Use rsync</a>
-    </div>
-  </div>
+  <p>
+    <a href="#file-upload" class="btn btn-outline-primary me-2">Use the 
browser</a>
+    <a href="#svn-upload" class="btn btn-outline-primary me-2">Use SVN</a>
+    <a href="#rsync-upload" class="btn btn-outline-primary">Use rsync</a>
+  </p>
 
   <h2 id="file-upload">File upload</h2>
   <p>Use this form to add files to this candidate draft.</p>
@@ -138,6 +136,6 @@
   <p>Import files from a remote server using rsync with the following 
command:</p>
   <!-- TODO: Add a button to copy the command to the clipboard -->
   <pre class="bg-light p-3 mb-0">
-rsync -av -e 'ssh -p 2222' ${YOUR_FILES}/ {{ asf_id }}@{{ server_domain }}:/{{ 
project_name }}/{{ version_name }}/
+rsync -av -e 'ssh -p 2222' ${YOUR_FILES}/ {{ asf_id }}@{{ server_domain }}:/{{ 
release.project.name }}/{{ release.version }}/
 </pre>
 {% endblock content %}


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

Reply via email to