minor donation fix
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 9 Dec 2025 14:37:12 +0000 (15:37 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 9 Dec 2025 14:37:12 +0000 (15:37 +0100)
src/club/templates/club/donation_step1_form.html
src/wolnelektury/templates/user_actions.html

index e30fff8..4980555 100644 (file)
@@ -24,9 +24,6 @@
         <div class="l-checkout__payments__box once{% if not schedule.monthly and schedule.amount == amount.amount or not schedule and club.default_single_amount == amount.amount %} is-active initial-active{% endif %}{% if amount.wide %} l-checkout__payments__box--special{% endif %} l-checkout__payments__box--{{ amount.box_variant }}">
 
           <div class="l-checkout__payments__box__btn-wrp">
-            {% if amount.description %}
-              <p>{{ amount.description|safe }}</p>
-            {% endif %}
             <button name="single_amount" value="{{ amount.amount }}">{{ amount.amount }} zł</button>
           </div>
         </div>
@@ -42,9 +39,6 @@
     {% for amount in amounts.monthly %}
       <div class="l-checkout__payments__box{% if schedule.monthly and schedule.amount == amount.amount or not schedule and amount.amount == club.default_monthly_amount %} is-active initial-active{% endif %}{% if amount.wide %} l-checkout__payments__box--special{% endif %} l-checkout__payments__box--{{ amount.box_variant }}">
         <div class="l-checkout__payments__box__btn-wrp">
-          {% if amount.description %}
-            <p>{{ amount.description|safe }}</p>
-          {% endif %}
           <button name="monthly_amount" value="{{ amount.amount }}">{{ amount.amount }} zł <span> /mies.</span></button>
         </div>
       </div>
index 4cdf765..1a804f1 100644 (file)
@@ -39,6 +39,5 @@
   </div>
 {% endif %}
 
-{% if not request.user.membership %}
-  <a href="/pomagam/?pk_campaign=menubar" class="menubar-donate">Wspieram!</a>
-{% endif %}
+<a href="/pomagam/?pk_campaign=menubar" class="menubar-donate">Wspieram!</a>
+