web: more verbose transfer descriptions for easily matchable transfers during matching ~enleth

master
Kasownik 2017-06-22 04:06:18 +02:00
parent 0e0513b3fd
commit b70e1127d3
1 changed files with 3 additions and 2 deletions

View File

@ -23,8 +23,9 @@
<h2>Unmatched transfers - easily matchable</h2>
<ul>
{% for t in transfers_unmatched %}
{% if t.get_matchability()[0] == 0 %}
<li>{{ t.title }}</li>
{% set details = t.get_matchability() %}
{% if details[0] == 0 %}
<li><em>{{ t.title }}</em>: {{ details[2] }} months from {{ details[1].get_next_unpaid() }} for {{ details[1].username }}</li>
{% endif %}
{% endfor %}
</ul>