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/03/25 17:50:35 UTC

(tooling-trusted-release) branch main updated: Move errors before warnings in the files list

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 f4e76a8  Move errors before warnings in the files list
f4e76a8 is described below

commit f4e76a8cce3142be6d73a2b01467e8f669805136
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Tue Mar 25 19:50:01 2025 +0200

    Move errors before warnings in the files list
---
 atr/templates/files-list.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/atr/templates/files-list.html b/atr/templates/files-list.html
index 305fea5..5bd9674 100644
--- a/atr/templates/files-list.html
+++ b/atr/templates/files-list.html
@@ -59,7 +59,7 @@
             <thead>
               <tr>
                 <th>Path</th>
-                <th>Tools, checks, warnings, and errors</th>
+                <th>Tools, checks, errors, and warnings</th>
               </tr>
             </thead>
             <tbody>
@@ -107,16 +107,16 @@
                       <a href="{{ url_for('root_files_tools', project_name=project_name, version_name=version_name, file_path=path) }}">Tools</a> ยท
                       No check results
                     {% endif %}
-                    {% for warning in warnings[path] %}
-                      <div class="alert alert-warning p-1 px-2 mt-2 mb-2">
-                        <i class="fas fa-exclamation-triangle"></i> {{ warning }}
-                      </div>
-                    {% endfor %}
                     {% for error in errors[path] %}
                       <div class="alert alert-danger p-1 px-2 mt-2 mb-2">
                         <i class="fas fa-exclamation-triangle"></i> {{ error }}
                       </div>
                     {% endfor %}
+                    {% for warning in warnings[path] %}
+                      <div class="alert alert-warning p-1 px-2 mt-2 mb-2">
+                        <i class="fas fa-exclamation-triangle"></i> {{ warning }}
+                      </div>
+                    {% endfor %}
                   </td>
                 </tr>
               {% endfor %}


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