Skip to content

Commit

Permalink
Closes netbox-community#17007: Center SSO if display name is an empty…
Browse files Browse the repository at this point in the history
… string
  • Loading branch information
mcmehrtens committed Aug 27, 2024
1 parent a7f83de commit 7819c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2 class="text-center mb-4">{% trans "Log In" %}</h2>
<div class="col">
<a href="{{ backend.url }}" class="btn w-100">
{% if backend.icon_name %}<i class="mdi mdi-{{ backend.icon_name }}"></i>
{% elif backend.icon_img %}<img src="{{ backend.icon_img }}" height="24" class="me-2" />{% endif %}
{% elif backend.icon_img %}<img src="{{ backend.icon_img }}" height="24" {% if backend.display_name %}class="me-2" {% endif %}/>{% endif %}
{{ backend.display_name }}
</a>
</div>
Expand Down

0 comments on commit 7819c76

Please sign in to comment.