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 39d9e02  Make small improvements to the candidate draft file list UI
39d9e02 is described below

commit 39d9e02ccc1934899583c6a941ab4b271f3fc301
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Mar 26 15:11:00 2025 +0200

    Make small improvements to the candidate draft file list UI
---
 atr/templates/files-add-project.html |  2 +-
 atr/templates/files-add.html         |  4 ++--
 atr/templates/files-list.html        | 18 +++++++++---------
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/atr/templates/files-add-project.html 
b/atr/templates/files-add-project.html
index 450e8aa..d68f1b5 100644
--- a/atr/templates/files-add-project.html
+++ b/atr/templates/files-add-project.html
@@ -9,7 +9,7 @@
 {% endblock description %}
 
 {% block content %}
-  <a href="{{ url_for('root_files_add') }}" class="back-link">← Back to Add 
files</a>
+  <a href="{{ url_for('root_files_add') }}" class="back-link">← Back to Create 
and modify</a>
 
   <h1>Add file to {{ project_name }} {{ version_name }}</h1>
   <p class="intro">Use this form to add a single file to this candidate 
draft.</p>
diff --git a/atr/templates/files-add.html b/atr/templates/files-add.html
index deb6681..ebddc46 100644
--- a/atr/templates/files-add.html
+++ b/atr/templates/files-add.html
@@ -11,12 +11,12 @@
 {% block content %}
   <h1>Candidate drafts</h1>
   <p class="intro">
-    A <strong>candidate draft</strong> is an editable set of files which can 
be <strong>frozen into a candidate release</strong> for voting on by the 
project's committee.
+    A <strong>candidate draft</strong> is an editable set of files which can 
be <strong>frozen and promoted into a candidate release</strong> for voting on 
by the project's committee.
   </p>
   <ul>
+    <li>You can only create a new candidate draft if you are a member of the 
project's committee</li>
     <li>Projects can work on multiple candidate drafts for different versions 
simultaneously</li>
     <li>A candidate draft is only editable until submitted for voting</li>
-    <li>You can only create a new candidate draft if you are a member of the 
project's committee</li>
   </ul>
 
   <h2>Modify existing draft</h2>
diff --git a/atr/templates/files-list.html b/atr/templates/files-list.html
index f62b1ff..d0fcb8b 100644
--- a/atr/templates/files-list.html
+++ b/atr/templates/files-list.html
@@ -33,10 +33,10 @@
         </div>
         <div class="col-md-6">
           <p>
-            <strong>Stage:</strong> <span class="badge bg-{% if release.stage 
== 'CURRENT' %}success{% elif release.stage == 'CANDIDATE' %}warning{% elif 
release.stage == 'BUILD' %}info{% else %}secondary{% endif %}">{{ release.stage 
}}</span>
+            <strong>Stage:</strong> <span class="badge bg-{% if release.stage 
== 'CURRENT' %}success{% elif release.stage == 'CANDIDATE' %}warning{% elif 
release.stage == 'BUILD' %}info{% else %}secondary{% endif %}">{{ 
release.stage.value.upper() }}</span>
           </p>
           <p>
-            <strong>Phase:</strong> <span class="badge bg-info">{{ 
release.phase }}</span>
+            <strong>Phase:</strong> <span class="badge bg-info">{{ 
release.phase.value.upper() }}</span>
           </p>
           <p>
             <strong>Created:</strong> {{ release.created.strftime("%Y-%m-%d 
%H:%M") }}
@@ -50,7 +50,7 @@
     <div class="card-header d-flex justify-content-between align-items-center">
       <h5 class="mb-0">Files</h5>
       <a href="{{ url_for('root_files_add') }}"
-         class="btn btn-sm btn-outline-secondary">Back to Add files</a>
+         class="btn btn-sm btn-outline-secondary">Back to Create and modify</a>
     </div>
     <div class="card-body">
       {% if paths|length > 0 %}
@@ -58,9 +58,9 @@
           <table class="table table-striped table-hover">
             <thead>
               <tr>
-                <th>Path</th>
+                <th>File path</th>
                 <th>Status</th>
-                <th>Actions and messages</th>
+                <th>Actions</th>
               </tr>
             </thead>
             <tbody>
@@ -126,12 +126,12 @@
                   </td>
                   <td class="atr-sans">
                     <a href="{{ url_for('root_download', 
phase='candidate-draft', project=release.project.name, version=release.version, 
path=path) }}"
-                       class="btn btn-sm btn-outline-primary">Download</a>
+                       class="btn btn-sm btn-outline-primary fs-6">Download</a>
                     <a href="{{ url_for('root_files_tools', 
project_name=project_name, version_name=version_name, file_path=path) }}"
-                       class="btn btn-sm btn-outline-primary ms-2">Tools</a>
+                       class="btn btn-sm btn-outline-primary fs-6 small 
ms-2">Tools</a>
                     {% if path in tasks and tasks[path]|length > 0 %}
                       <a href="{{ url_for('root_files_checks', 
project_name=project_name, version_name=version_name, file_path=path) }}"
-                         class="btn btn-sm btn-outline-primary ms-2">Check 
results</a>
+                         class="btn btn-sm btn-outline-primary fs-6 small 
ms-2">Check results</a>
                     {% endif %}
                   </td>
                 </tr>
@@ -146,7 +146,7 @@
             <table class="table table-striped table-hover">
               <thead>
                 <tr>
-                  <th>Path</th>
+                  <th>File path</th>
                   <th>Template</th>
                   <th>Substitutions</th>
                 </tr>


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

Reply via email to