Skip to content

Commit

Permalink
feat(template): integrate #8f0abe843dd3b839403dab8bc3d285e6d3f208cf t…
Browse files Browse the repository at this point in the history
…o render first the static logo (server-uploaded), after the other logo (client-uploaded)

ref to fabiocaccamo#355
  • Loading branch information
FraCata00 committed Apr 15, 2024
1 parent 80a3bf7 commit 89fe3e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin_interface/templates/admin/base_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ <h1 id="site-name">
{% if theme.logo_visible %}
{% if theme.logo %}
<img class="logo" style="display:none;" src="{{ theme.logo.url }}" {% if theme.logo.width %}width="{{ theme.logo.width }}"{% endif %} {% if theme.logo.height %}height="{{ theme.logo.height }}"{% endif %}>
{% elif theme.static_logo_path %}
<img class="logo" style="display:none;" src="{{ theme.static_logo_relative_url }}" width="104" height="36">
{% else %}
<img class="logo default" style="display:none;" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="104" height="36">
{% endif %}
Expand Down

0 comments on commit 89fe3e5

Please sign in to comment.