taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

blog-article-frame.html.j2 (564B)


      1 {% extends "blog-base.html.j2" %}
      2 {% block main %}
      3 
      4 {{ article_contents | safe }}
      5 
      6 <hr>
      7 
      8 {% if refundable %}
      9 <p class="graybox">
     10   {{
     11     gettext("Taler allows merchants to offer refunds to customers.") +
     12     gettext('You can <a href="{url}">request a refund</a> within the first hour after buying this article.').format(url=url_for('confirm_refund', lang='en', order_id=order_id))
     13   }}
     14 </p>
     15 {% else %}
     16 {{ gettext("Taler allows merchants to offer refunds to customers.") }}
     17 {{ gettext("This article can't be refunded anymore.") }}
     18 {% endif %}
     19 
     20 {% endblock main %}