Revert "Restyle template statistics and received text messages"

This commit is contained in:
Chris Hill-Scott
2020-02-18 14:58:33 +00:00
committed by GitHub
parent a86f0a6efc
commit 6bdd776780
15 changed files with 114 additions and 186 deletions

View File

@@ -1,6 +1,7 @@
{% macro show_more(url, label, with_border=True) %}
<a
href="{{ url }}"
class="show-more{% if not with_border %}-no-border{% endif %}"
><span>{{ label }}</span></a>
{% macro show_more(url=None, label=None) %}
{% if url and label %}
<a href="{{ url }}" class="show-more"><span>{{ label }}</span></a>
{% else %}
<span class="show-more-empty"></span>
{% endif %}
{% endmacro %}