Skip to content

fix: hide Tapis logo next to TACC logo for TACC User Portal client - #4

Merged
wesleyboar merged 5 commits into
enhance/TUP-603-powered-by-tapis-in-footer--second-tryfrom
fix/hide-tapis-logo-for-tacc-user-portal
Sep 2, 2026
Merged

fix: hide Tapis logo next to TACC logo for TACC User Portal client#4
wesleyboar merged 5 commits into
enhance/TUP-603-powered-by-tapis-in-footer--second-tryfrom
fix/hide-tapis-logo-for-tacc-user-portal

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Overview

Hide the generic Tapis logo next to the TACC logo for TACC User Portal clients, reusing the footer's client check.

Related

Changes

  • changed the footer's client_display_name check to the header's Tapis-logo fallback

Testing

  1. Visit a form with a non-TUP client — Tapis logo still shows next to TACC logo.
  2. Visit with a TUP-named client — Tapis logo is hidden.

UI

Note

Only the TUP client "TACC User Portal" is changed.

page the TUP client
"TACC User Portal"
non-TUP client
generic (apcd)
non-TUP client
developer (dev)
login login_tup login_nontup login_nontup_dev
authorize authorize_tup authorize_nontup authorize_nontup_dev
mfa mfa_tup mfa_nontup mfa_nontup_dev

Warning

Only non-TUP client developer (dev) are genuine live screenshots; the rest are rendered with mock context, since my dev environment has no working LDAP to complete a real login flow (because tapis-project#37).

…al client

Reuses the footer's client_display_name check (matching "TUP" or
"TACC User Portal", case-insensitive) so the header figure doesn't
show the placeholder Tapis logo alongside the hardcoded TACC logo
when the client is the TACC User Portal.
Replace the case-insensitive "tup"/"tacc user portal" substring check
with an exact, case-sensitive match against "TACC User Portal",
matching the same fix applied to the footer's condition.
Every form template duplicated the same tenant + hardcoded-tacc
branding.html double-include inside its <figure>. Extract it into a
shared partial, same pattern as content_footer.html.
…igure.html

branding.html is restored to unmodified upstream content. content_figure.html
now decides whether to render the tenant-specific logo at all for a
TACC User Portal client, instead of branding.html only suppressing its
own generic Tapis-logo fallback. This also resolves the duplicate
TACC-logo case for a TUP client on the tacc tenant.
@wesleyboar
wesleyboar merged commit 70c0ed6 into enhance/TUP-603-powered-by-tapis-in-footer--second-try Sep 2, 2026
@wesleyboar
wesleyboar deleted the fix/hide-tapis-logo-for-tacc-user-portal branch September 2, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant