mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-26 13:20:54 -05:00
The team page was a bit of a mess: - invited and active tables didn’t line up - lots of things were wrapping onto two lines - the empty fields for when a user didn’t have permissions looked broken This commit splits each row of the table (not actually a table any more) onto two lines. First line has the user’s info, second has their permissions and any associated actions.
16 lines
356 B
HTML
16 lines
356 B
HTML
{% macro tick_cross(yes, label) %}
|
||
<li>
|
||
{% if yes %}
|
||
<span class="tick-cross-tick">
|
||
<span class="visually-hidden">Can</span>
|
||
{{ label}}
|
||
</span>
|
||
{% else %}
|
||
<span class="tick-cross-cross">
|
||
<span class="visually-hidden">Can’t</span>
|
||
{{ label}}
|
||
</span>
|
||
{% endif %}
|
||
</li>
|
||
{% endmacro %}
|