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:
Chris Hill-Scott
2016-04-12 15:05:27 +01:00
parent 906a22a67b
commit 1a6bb37171
5 changed files with 60 additions and 28 deletions

View File

@@ -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" }}