X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2F_macros.html;fp=templates%2F_macros.html;h=a19c06381320461baf7b1622b475d7d0d244440b;hb=1a9178b2b7bb66e77f3df01a0c7b2812839637ba;hp=14395914052efd6511eddc6cc82bbe947dda62c4;hpb=5ff672be7e421fbbde8132a66ebb9b734d149a69;p=plomtask diff --git a/templates/_macros.html b/templates/_macros.html index 1439591..a19c063 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -39,6 +39,7 @@ {% macro history_page(item_name, item, attribute_name, attribute, as_pre=false) %}

{{item_name}} {{attribute_name}} history

+
@@ -46,12 +47,15 @@ + {% for date in attribute.history.keys() | sort(reverse=True) %} - + {% endfor %}
{{item.title.newest|e}}
{{date | truncate(19, True, '') }} {% if as_pre %}
{% endif %}{{attribute.history[date]}}{% if as_pre %}
{% endif %}
+ +
{% endmacro %}