donations-fulfillment.gohtml (948B)
1 {{define "content"}} 2 <section class="status-card"> 3 <div class="status-mark" aria-hidden="true">✓</div> 4 <h2>{{tr .Lang "Donation complete"}}</h2> 5 <p>{{trfHTML .Lang "Thank you, <strong>{donor}</strong>. You donated <strong>{amount}</strong> to <strong>{receiver}</strong>." "donor" .Content.Donor "amount" .Content.Amount "receiver" .Content.Receiver}}</p> 6 <p>{{trfHTML .Lang "Receipt ID: <strong>{id}</strong>" "id" .Content.OrderID}}</p> 7 <div class="action-row"> 8 <button class="button button-secondary" type="button" data-copy-value="{{.Content.RequestURL}}" data-copy-prompt="{{tr .Lang "Copy this receipt link:"}}" aria-describedby="receipt-copy-status">{{tr .Lang "Copy receipt link"}}</button> 9 <a class="button" href="{{localIndex .Prefix .Lang}}">{{tr .Lang "Donate again"}}</a> 10 </div> 11 <p class="copy-status" id="receipt-copy-status" role="status" hidden>{{tr .Lang "Receipt link copied."}}</p> 12 </section> 13 {{end}}