Fix alert styling and ensure consistent formatting in user results table rendering.

This commit is contained in:
Yaro Kasear 2025-07-23 15:26:31 -05:00
parent 50786cf41f
commit 608cb8281b

View file

@ -11,7 +11,7 @@
)
) }}
{% if not results['inventory']['rows'] and not results['users']['rows'] and not results['worklog']['rows'] %}
<div class="alert alert-danger">There are no results for "{{ query }}".</div>
<div class="alert alert-danger rounded-0">There are no results for "{{ query }}".</div>
{% endif %}
{% endblock %}
@ -35,7 +35,7 @@
{{ tables.render_table(
headers = results['users']['headers'],
rows = results['users']['rows'],
entry_route = 'user',
entry_route = 'user',
title='User Results',
id='search-users'
)}}