Fix alert styling and ensure consistent formatting in user results table rendering.
This commit is contained in:
parent
50786cf41f
commit
608cb8281b
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
)
|
)
|
||||||
) }}
|
) }}
|
||||||
{% if not results['inventory']['rows'] and not results['users']['rows'] and not results['worklog']['rows'] %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
{{ tables.render_table(
|
{{ tables.render_table(
|
||||||
headers = results['users']['headers'],
|
headers = results['users']['headers'],
|
||||||
rows = results['users']['rows'],
|
rows = results['users']['rows'],
|
||||||
entry_route = 'user',
|
entry_route = 'user',
|
||||||
title='User Results',
|
title='User Results',
|
||||||
id='search-users'
|
id='search-users'
|
||||||
)}}
|
)}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue