transfers.html 853 B

12345678910111213141516171819202122232425
  1. <div class="feed">
  2. {% for t in transfers %}
  3. <div class="feed-item">
  4. <div class="feed-head">
  5. <code class="hash" title="{{ t.full_id }}">{{ t.short_id }}</code>
  6. <span class="muted">{{ t.time }}</span>
  7. </div>
  8. <div class="legs">
  9. {% for leg in t.legs %}
  10. <div class="leg {% if leg.is_change %}change{% endif %}">
  11. <span class="leg-dir">
  12. {% if leg.is_change %}
  13. change &rarr; <b>{{ leg.to_name }}</b>
  14. {% else %}
  15. <b>{{ leg.from_name }}</b> &rarr; <b>{{ leg.to_name }}</b>
  16. {% endif %}
  17. </span>
  18. <span class="money {% if leg.money.negative %}neg{% else %}pos{% endif %}">{{ leg.money.text }}</span>
  19. </div>
  20. {% endfor %}
  21. </div>
  22. <div class="feed-foot muted">consumes {{ t.consumes }} posting(s)</div>
  23. </div>
  24. {% endfor %}
  25. </div>