From 2044d83ed36b2fe56d31e085d43ea520763d443f Mon Sep 17 00:00:00 2001
From: Owocki Sent {{relation}}
+ Sent {{relation}}
- {% if counterparty == 'username' %}
- {{kt.username|slice:"1:"}}
- {% else %}
- {{kt.from_username}}
- {% endif %}
+ {% if relation == 'from' %}
+ {{kt.username}}
+ {% else %}
+ {{kt.from_username}}
+ {% endif %}
- {{kt.created_on|naturaltime}}
- {{ kt.txid|humanize_address }}
- {{kt.comments_public}}
+ {{ kt.txid|humanize_address }} +
+{% if kt.comments_public %} + {% trans "Comment:" %} +{{kt.comments_public}}
+ {% endif %} diff --git a/app/kudos/templates/shared/kudos_card_profile.html b/app/kudos/templates/shared/kudos_card_profile.html index 1ebcf6e3a94..52631223a41 100644 --- a/app/kudos/templates/shared/kudos_card_profile.html +++ b/app/kudos/templates/shared/kudos_card_profile.html @@ -17,38 +17,38 @@ {% load i18n static kudos_extras %} {% load humanize %} {% if kudos_data == 'sent_kudos' %} - {% for kudo in sent_kudos|slice:":8" %} + {% for kt in sent_kudos|slice:":8" %}