66 < header class ="-mt-16 bg-yellow-400 ">
77 < div class ="container flex flex-col max-w-4xl gap-6 text-center pt-9 pb-14 ">
88 < h1 class ="text-3xl font-bold text-center text-gray-900 ">
9- Explorează organizații
9+ {% trans "Explore organizations" %}
1010 </ h1 >
1111
1212 < p class ="font-medium text-gray-900 ">
13- Fără să te coste nimic în plus, redirecționând, oferi un strop de putere în plus unui ONG care să facă bine și în numele tău. Poți opta pentru redistribuirea sumei până pe 25 Mai.
13+ {% blocktranslate trimmed %}
14+ Without costing you anything extra,
15+ by redirecting,
16+ you give a little extra power to an NGO to do good in your name.
17+ You can opt for the redistribution of the amount until
18+ {% endblocktranslate %}
19+ < strong class ="text-cyan-900 "> {{ limit.day }} {{ month_limit }}</ strong > .
1420 </ p >
1521 </ div >
1622 </ header >
@@ -22,29 +28,27 @@ <h1 class="text-3xl font-bold text-center text-gray-900">
2228 </ form >
2329
2430 < div class ="grid gap-x-8 gap-y-16 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-10 xl:gap-y-20 ">
25- {% trans "organizations" as paginated_type %}
26- {% include "public/components/pagination.html" with page_obj=page_obj paginated_type=paginated_type show_pagination_count=True %}
27-
28- {% for ngo in ngos %}
29- {% include "public/components/ngo-card.html" with ngo=ngo %}
30- {% endfor %}
31+ {% if not ngos %}
32+ < div class ="col-span-full text-center ">
33+ < p class ="text-gray-900 text-4xl font-bold ">
34+ {% trans "No organizations found." %}
35+ </ p >
36+ </ div >
37+ {% else %}
38+ {% trans "organizations" as paginated_type %}
39+ {% include "public/components/pagination.html" with page_obj=page_obj paginated_type=paginated_type show_pagination_count=True %}
40+
41+ {% for ngo in ngos %}
42+ {% include "public/components/ngo-card.html" with ngo=ngo %}
43+ {% endfor %}
44+ {% endif %}
3145 </ div >
3246
3347 {% include "public/components/pagination.html" with page_obj=page_obj %}
3448 </ section >
3549
3650 < aside class ="px-6 py-24 sm:px-6 sm:py-32 lg:px-8 ">
37- < div class ="max-w-2xl mx-auto text-center ">
38- < h2 class ="text-4xl font-semibold tracking-tight text-gray-900 text-balance sm:text-5xl ">
39- Reprezinți un ONG?
40- </ h2 >
41- < p class ="max-w-xl mx-auto mb-10 text-xl text-gray-600 text-pretty sm:text-3xl ">
42- Află cum te ajută redirecționează.ro
43- </ p >
44-
45- < a href ="{% url 'signup' %} " class ="py-3 font-semibold text-center text-gray-900 rounded-md shadow-sm px-7 bg-amber-300 hover:bg-amber-200 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-amber-300 "> Începe aici</ a >
46-
47- </ div >
51+ {% include "account/snippets/cta-ngohub.html" %}
4852 </ aside >
4953
5054{% endblock %}
0 commit comments