donations-index.gohtml (1956B)
1 {{define "content"}} 2 <section class="page-intro"> 3 <h2>{{tr .Lang "Donate to Free Software projects"}}</h2> 4 <p>{{tr .Lang "Choose a project and amount. Your name will appear on the receipt."}}</p> 5 </section> 6 <form name="tform" action="{{.Prefix}}/{{.Lang}}/checkout" method="get" class="demo-form form-card"> 7 <div class="form-grid"> 8 {{/* Translators: Form label for the Free Software project that receives the donation. */}} 9 <label class="form-field"><span>{{tr .Lang "Receiver"}}</span><select name="donation_receiver"><option value="gnunet">GNUnet</option><option value="taler">GNU Taler</option><option value="tor">Tor</option></select></label> 10 {{/* Translators: Form label for the monetary amount to donate. */}} 11 <label class="form-field"><span>{{tr .Lang "Amount"}}</span><select id="taler-donation" name="donation_amount"><option value="{{.Content.Currency}}:0.1">0.1 {{.Content.Currency}}</option><option value="{{.Content.Currency}}:1">1 {{.Content.Currency}}</option><option value="{{.Content.Currency}}:6">5 {{.Content.Currency}}</option><option value="{{.Content.Currency}}:10">10 {{.Content.Currency}}</option></select></label> 12 {{/* Translators: Form label for the name of the person making the donation. */}} 13 <label class="form-field"><span>{{tr .Lang "Donor"}}</span>{{/* Translators: Default donor name used when the user does not enter their own name. */}}<input type="text" name="donation_donor" value="{{tr .Lang "Anonymous Donor"}}"></label> 14 </div> 15 {{/* Translators: Button that submits the donation form; use the verb form. */}} 16 <button type="submit" name="submit">{{tr .Lang "Donate"}}</button> 17 </form> 18 <aside class="notice notice-warning"><strong>{{tr .Lang "Check the amount"}}</strong><p>{{trf .Lang "The 5 {currency} option intentionally requests 6 {currency}. Check the final amount in your wallet before paying." "currency" .Content.Currency}}</p></aside> 19 {{end}}