{% macro iterate_awards(awards) %}
{% for award in awards %}
{% set price = (award.price*v.award_discount)|int %}
{% if award.kind == 'grass' %}
{% set currency = 'coins' %}
{% elif award.kind == 'benefactor' %}
{% set currency = 'marseybux' %}
{% else %}
{% set currency = 'coins/marseybux' %}
{% endif %}
{{award.title}}
{{award.owned}}
{% if award.owned %}
{{award.owned}} owned
{% else %}
Price: {{price}}
{% endif %}
{% endfor %}
{% endmacro %}
{{iterate_awards(v.awards_content_effect)}}
{{iterate_awards(v.awards_author_effect)}}
{{macros.emoji_btn('note', 'awardModal')}}
{{macros.gif_btn('note', 'awardModal')}}