mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Tidy up the ‘Activity’ table
This table had a lot of columns, which meant that some of them became very narrow, wrapping the text awkwardly. This commit groups some of the data into a chunk, which occupies the first column.
This commit is contained in:
@@ -67,6 +67,12 @@
|
||||
{% endcall %}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro link_field(text, link) -%}
|
||||
{% call field() %}
|
||||
<a href="{{ link }}">{{ text }}</a>
|
||||
{% endcall %}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro boolean_field(yes) -%}
|
||||
{% call field(status='yes' if yes else 'no') %}
|
||||
{{ "Yes" if yes else "No" }}
|
||||
|
||||
Reference in New Issue
Block a user