taler-merchant-demos

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

blog-article.gohtml (507B)


      1 {{define "content"}}
      2   <article class="article-body">
      3   {{.Content.Article.Contents}}
      4   <section class="article-actions">
      5   {{if .Content.Refundable}}<p class="helper-text">{{tr .Lang "Refunds are available for one hour after purchase."}}</p><div class="action-row"><a class="button button-secondary" href="{{.Content.RefundURL}}">{{tr .Lang "Request refund"}}</a></div>{{else}}<p class="helper-text">{{tr .Lang "The refund period for this chapter has ended."}}</p>{{end}}
      6   </section>
      7   </article>
      8 {{end}}