From 9c015bc4de5670438e43ecc2dc13f097a9115e41 Mon Sep 17 00:00:00 2001 From: Bob Haugen Date: Sat, 8 Jul 2017 07:43:17 -0500 Subject: [PATCH] add first event description to transfers if no transfer.commitments --- .../templates/valueaccounting/exchange_logging.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/valuenetwork/templates/valueaccounting/exchange_logging.html b/valuenetwork/templates/valueaccounting/exchange_logging.html index 24f52d4c1..cec5595d1 100644 --- a/valuenetwork/templates/valueaccounting/exchange_logging.html +++ b/valuenetwork/templates/valueaccounting/exchange_logging.html @@ -516,6 +516,13 @@

{% trans "Change Transfer" %}

{% if xfer.description %}
{{ xfer.description|urlize|linebreaks }}
{% endif %} + {% if xfer.events.all %} + {% with xfer.events.all|first as event %} + {% if event.description %} +
{{ event.description|urlize|linebreaks }}
+ {% endif %} + {% endwith %} + {% endif %} {% endif %} {% endfor %}