]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/modules/donation-box.html
Massive web site update
[people/shoehn/ipfire.org.git] / templates / modules / donation-box.html
index 44ee78c69dd979f1b4eba0b69af0d81223166a3d..4f0d7e8ffea511a730f19098109c5ce75b19f135 100644 (file)
-<div class="well">
-       <div class="row">
-               <div class="col-lg-6 col-md-6 ac">
-                       <h4>{{ _("Donate with PayPal or Credit Card") }}</h4>
-                       <br>
-
-                       {% if lang == "de" %}
-                               <p>
-                                       PayPal ist unser bevorzugter und gleichzeitig einfachster Weg zu spenden.
-                                       Dazu einfach auf den Button klicken und den gewünschten Betrag eingeben.
-                               </p>
+<div class="row">
+       <div class="col-lg-6 col-md-6">
+               <h4 class="text-center">{{ _("Donate with PayPal") }}</h4>
 
-                               <br>
+               <div class="ac">
+                       {% module DonationButton(reason_for_transfer=reason_for_transfer) %}
 
-                               <div class="ac">
-                                       <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
-                                               <input type="hidden" name="cmd" value="_s-xclick">
-                                               <input type="hidden" name="hosted_button_id" value="Z44GQ52ZHKVFW">
-                                               {% if reason_for_transfer %}
-                                                       <input type="hidden" name="item_name" value="{{ reason_for_transfer }}">
-                                               {% end %}
-                                               <input type="image" src="https://www.paypalobjects.com/de_DE/DE/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Jetzt einfach, schnell und sicher online bezahlen – mit PayPal.">
-                                               <img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
-                                       </form>
-                               </div>
-
-                               <br>
+                       <br>
 
-                               <p>
-                                       Wenn du nicht per PayPal spenden möchtest, kannst du das auch per
-                                       Banküberweisung tun. Dazu einfach oben auf den Button klicken.
-                               </p>
-                       {% else %}
-                               <p>
-                                       PayPal is our preferred way to make donations.
-                                       Simply click on the donate button and type in the
-                                       amount of money you would like to donate.
-                               </p>
+                       <ul class="list-inline">
+                               {% for currency in ("USD", "GBP", "CHF", "AUD", "NZD", "CAD") %}
+                                       <li>
+                                               {% module DonationButton(reason_for_transfer=reason_for_transfer, currency=currency) %}
+                                       </li>
+                               {% end %}
+                       </ul>
+               </div>
+       </div>
 
-                               <br>
+       <div class="col-lg-6 col-md-6">
+               <h4 class="text-center">{{ _("Donate by Bank Transfer") }}</h4>
 
-                               <div class="ac">
-                                       <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
-                                               <input type="hidden" name="cmd" value="_s-xclick">
-                                               <input type="hidden" name="hosted_button_id" value="HHBTSN9QRWPAY">
-                                               {% if reason_for_transfer %}
-                                                       <input type="hidden" name="item_name" value="{{ reason_for_transfer }}">
-                                               {% end %}
-                                               <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-                                               <img alt="" border="0" src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif" width="1" height="1">
-                                       </form>
-                               </div>
+               <dl class="dl-horizontal">
+                       <dt>{{ _("IBAN") }}</dt>
+                       <dd>DE86 4265 0150 1020 0768 89</dd>
 
-                               <br>
+                       <dt>{{ _("BIC-/SWIFT-Code") }}</dt>
+                       <dd>WELADED1REK</dd>
 
-                               <p>
-                                       If you are not keen on using PayPal, you can also donate by bank transfer.
-                                       Click on the button above to do so.
-                               </p>
+                       {% if reason_for_transfer %}
+                               <dt>{{ _("Reason for transfer") }}</dt>
+                               <dd>{{ reason_for_transfer }}</dd>
                        {% end %}
-               </div>
-
-               <div class="col-lg-6 col-md-6 ac">
-                       <h4>{{ _("Donate by Bank Transfer") }}</h4>
-                       <br>
+               </dl>
 
+               <p class="ac">
                        {% if lang == "de" %}
-                               <p>
-                                       Ebenso ist eine Spende auf unser Bankkonto möglich.
-                               </p>
+                               <small>
+                                       Da das IPFire-Projekt keine registrierte gemeinnützige Organisation
+                                       ist, können keine steuerlich abzugsfähige Spendenquittungen erstellt
+                                       werden.
+                               </small>
                        {% else %}
-                               <p>
-                                       It is also possible to transfer donations into
-                                       our bank account.
-                               </p>
-                       {% end %}
-
-                       <br>
-
-                       <p>
-                               {{ _("IBAN") }}: DE86 4265 0150 1020 0768 89<br>
-                               {{ _("BIC-/SWIFT-Code") }}: WELADED1REK
-                               {% if reason_for_transfer %}
+                               <small>
+                                       The IPFire project is not a registered non-profit organisation.
                                        <br>
-                                       {{ _("Reason for transfer") }}:
-                                       <strong>{{ reason_for_transfer }}</strong>
-                               {% end %}
-                       </p>
-               </div>
+                                       Hence we are not able to issue a tax-deductible contribution receipt
+                                       for your donation.
+                               </small>
+                       {% end %}
+               </p>
        </div>
-
-       {% if wishlist_items %}
-               <hr>
-
-               <div class="row">
-                       <div class="col-md-12">
-                               <p class="ac">
-                                       <strong>{{ _("Did you know...?") }}</strong>
-
-                                       {% if lang == "de" %}
-                                               Du kannst die Implementierung deiner bevorzugten Funktion mit Hilfe einer Spende auf der
-                                               <a href="http://wishlist.ipfire.org/">IPFire Wunschliste</a> unterstützen!
-                                       {% else %}
-                                               You can support the implementation of your favorite feature on the
-                                               <a href="http://wishlist.ipfire.org/">IPFire wishlist</a>!
-                                       {% end %}
-                               </p>
-                               <br class="separator">
-
-                               {% module WishlistItems(wishlist_items) %}
-                       </div>
-               </div>
-       {% end %}
 </div>