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/04/25 15:31:48 UTC

(tooling-trusted-release) branch main updated: Use PNGs for project logos

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 b8d31f6  Use PNGs for project logos
b8d31f6 is described below

commit b8d31f646d9b61e648d1365f3853f8eb714f6a5d
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Apr 25 16:31:32 2025 +0100

    Use PNGs for project logos
---
 atr/routes/draft.py                | 4 ++--
 atr/templates/index-committer.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/atr/routes/draft.py b/atr/routes/draft.py
index 98f6e80..aa293ff 100644
--- a/atr/routes/draft.py
+++ b/atr/routes/draft.py
@@ -660,8 +660,8 @@ async def fresh(session: routes.CommitterSession, project_name: str, version_nam
     # This doesn't make sense unless the checks themselves have been updated
     # Therefore we only show the button for this to admins
     async with revision.create_and_manage(project_name, version_name, session.uid) as (
-        new_revision_dir,
-        new_revision_name,
+        _new_revision_dir,
+        _new_revision_name,
     ):
         ...
 
diff --git a/atr/templates/index-committer.html b/atr/templates/index-committer.html
index c9c3232..57946ee 100644
--- a/atr/templates/index-committer.html
+++ b/atr/templates/index-committer.html
@@ -74,12 +74,12 @@
                  class="float-end ms-3 page-logo"
                  height="24" />
           {% elif project.super_project_name %}
-            <img src="https://www.apache.org/logos/originals/{{ project.super_project_name }}.svg"
+            <img src="https://www.apache.org/logos/res/{{ project.super_project_name }}/default.png"
                  alt=""
                  class="float-end ms-3 page-logo"
                  height="24" />
           {% else %}
-            <img src="https://www.apache.org/logos/originals/{{ project.name }}.svg"
+            <img src="https://www.apache.org/logos/res/{{ project.name }}/default.png"
                  alt=""
                  class="float-end ms-3 page-logo"
                  height="24" />


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