From 3cbad564ddccd5d5819cccd87d66085af21799c9 Mon Sep 17 00:00:00 2001 From: Tudor Amariei Date: Sat, 27 Jan 2024 13:16:37 +0200 Subject: [PATCH] Fix URLs --- backend/redirectioneaza/urls.py | 2 +- backend/templates/v1/admin2/accounts.html | 2 +- backend/templates/v1/admin2/campaign.html | 2 +- backend/templates/v1/admin2/header.html | 10 +++++----- backend/templates/v1/admin2/ngos.html | 2 +- backend/templates/v1/components/for-ngos.html | 4 ++-- .../v1/components/ngo-details-form.html | 2 +- .../templates/v1/components/ngo-header.html | 2 +- backend/templates/v1/cont-nou.html | 16 +++++++-------- backend/templates/v1/footer.html | 6 +++--- backend/templates/v1/for-ngos.html | 20 +++++++++---------- backend/templates/v1/header.html | 10 +++++----- backend/templates/v1/index.html | 4 ++-- backend/templates/v1/login.html | 6 +++--- backend/templates/v1/ngo/account-header.html | 10 +++++----- .../templates/v1/ngo/my-account-details.html | 2 +- backend/templates/v1/parola-noua.html | 2 +- backend/templates/v1/resetare-parola.html | 4 ++-- backend/templates/v1/twopercent.html | 2 +- 19 files changed, 54 insertions(+), 54 deletions(-) diff --git a/backend/redirectioneaza/urls.py b/backend/redirectioneaza/urls.py index e92e037e..361b0079 100644 --- a/backend/redirectioneaza/urls.py +++ b/backend/redirectioneaza/urls.py @@ -76,7 +76,7 @@ path( "verify//-/", VerificationHandler.as_view(), - name="verification/", + name="verification", ), path("password/", SetPasswordHandler.as_view()), # my account diff --git a/backend/templates/v1/admin2/accounts.html b/backend/templates/v1/admin2/accounts.html index 629f64d5..56a7f462 100644 --- a/backend/templates/v1/admin2/accounts.html +++ b/backend/templates/v1/admin2/accounts.html @@ -28,7 +28,7 @@ {{ "{0}/{1}/{2}".format(user.date_joined.day, user.date_joined.month, user.date_joined.year) }} {% if user.ngo %} - da + da {% else %} nu {% endif %} diff --git a/backend/templates/v1/admin2/campaign.html b/backend/templates/v1/admin2/campaign.html index 00e34f86..65d4cc51 100644 --- a/backend/templates/v1/admin2/campaign.html +++ b/backend/templates/v1/admin2/campaign.html @@ -9,7 +9,7 @@
-
+ {{ csrf_input }}
Campanie nouă diff --git a/backend/templates/v1/admin2/header.html b/backend/templates/v1/admin2/header.html index c763c279..8d962408 100644 --- a/backend/templates/v1/admin2/header.html +++ b/backend/templates/v1/admin2/header.html @@ -14,13 +14,13 @@
- \ No newline at end of file + diff --git a/backend/templates/v1/admin2/ngos.html b/backend/templates/v1/admin2/ngos.html index bc867bb0..964d6907 100644 --- a/backend/templates/v1/admin2/ngos.html +++ b/backend/templates/v1/admin2/ngos.html @@ -24,7 +24,7 @@ {{ loop.index }} - {{ ngo.name }} + {{ ngo.name }} {{ ngo.email or '' }} diff --git a/backend/templates/v1/components/for-ngos.html b/backend/templates/v1/components/for-ngos.html index 95ced00b..b4d710c3 100644 --- a/backend/templates/v1/components/for-ngos.html +++ b/backend/templates/v1/components/for-ngos.html @@ -4,7 +4,7 @@

Reprezinți un ONG?

Află cum te poate ajuta redirectioneaza.ro

-
\ No newline at end of file + diff --git a/backend/templates/v1/components/ngo-details-form.html b/backend/templates/v1/components/ngo-details-form.html index 5a9f7046..74547bd6 100644 --- a/backend/templates/v1/components/ngo-details-form.html +++ b/backend/templates/v1/components/ngo-details-form.html @@ -1,5 +1,5 @@ - + {{ csrf_input }}
Datele asociației: diff --git a/backend/templates/v1/components/ngo-header.html b/backend/templates/v1/components/ngo-header.html index 69c2373e..e3736901 100644 --- a/backend/templates/v1/components/ngo-header.html +++ b/backend/templates/v1/components/ngo-header.html @@ -12,7 +12,7 @@

- + {{ ngo.name }}

diff --git a/backend/templates/v1/cont-nou.html b/backend/templates/v1/cont-nou.html index 81254be3..e6bdaecf 100644 --- a/backend/templates/v1/cont-nou.html +++ b/backend/templates/v1/cont-nou.html @@ -22,7 +22,7 @@
- + {{ csrf_input }}
Cont nou @@ -32,29 +32,29 @@
-
+
-
+
-
+
-
+
@@ -64,7 +64,7 @@
- + {% endblock %} diff --git a/backend/templates/v1/footer.html b/backend/templates/v1/footer.html index 74a0779b..19071832 100644 --- a/backend/templates/v1/footer.html +++ b/backend/templates/v1/footer.html @@ -30,9 +30,9 @@ © 2023 Code for Romania.
Organizație neguvernamentală independentă, neafiliată politic și apolitică.

Code for Romania diff --git a/backend/templates/v1/for-ngos.html b/backend/templates/v1/for-ngos.html index 1aa4fd9c..c0cb0bd1 100644 --- a/backend/templates/v1/for-ngos.html +++ b/backend/templates/v1/for-ngos.html @@ -38,7 +38,7 @@

Vrem să te ajutăm să colectezi formularele de redirectionare

Totul este gratuit.

- + {{ csrf_input }}
@@ -47,25 +47,25 @@

Vrem să te ajutăm să colectezi formularele de redirectionare

-
+
-
+
-
+
@@ -77,14 +77,14 @@

Vrem să te ajutăm să colectezi formularele de redirectionare

- +
- + {% endblock %} {% block scripts %} - -{% endblock %} \ No newline at end of file + +{% endblock %} diff --git a/backend/templates/v1/header.html b/backend/templates/v1/header.html index d5140e8e..52772408 100644 --- a/backend/templates/v1/header.html +++ b/backend/templates/v1/header.html @@ -17,10 +17,10 @@ {% if not custom_subdomain %} {% endif %} - {# + {#

- Completează formularul de pe pagina unui ONG. + Completează formularul de pe pagina unui ONG.

diff --git a/backend/templates/v1/login.html b/backend/templates/v1/login.html index ef9d8f32..b6ce0039 100644 --- a/backend/templates/v1/login.html +++ b/backend/templates/v1/login.html @@ -21,7 +21,7 @@
- + {{ csrf_input }}
Login @@ -39,8 +39,8 @@
diff --git a/backend/templates/v1/ngo/account-header.html b/backend/templates/v1/ngo/account-header.html index 4a6d041d..d9aff2a0 100644 --- a/backend/templates/v1/ngo/account-header.html +++ b/backend/templates/v1/ngo/account-header.html @@ -14,9 +14,9 @@ - \ No newline at end of file + diff --git a/backend/templates/v1/ngo/my-account-details.html b/backend/templates/v1/ngo/my-account-details.html index 6e6ffd9d..35a5f6d0 100644 --- a/backend/templates/v1/ngo/my-account-details.html +++ b/backend/templates/v1/ngo/my-account-details.html @@ -20,7 +20,7 @@
- + {{ csrf_input }}
Datele contului tău diff --git a/backend/templates/v1/parola-noua.html b/backend/templates/v1/parola-noua.html index b390bfe9..e228ce52 100644 --- a/backend/templates/v1/parola-noua.html +++ b/backend/templates/v1/parola-noua.html @@ -23,7 +23,7 @@
- + {{ csrf_input }}
Resetare parolă diff --git a/backend/templates/v1/resetare-parola.html b/backend/templates/v1/resetare-parola.html index bad8fcf2..8e8ad68d 100644 --- a/backend/templates/v1/resetare-parola.html +++ b/backend/templates/v1/resetare-parola.html @@ -28,7 +28,7 @@
- + {{ csrf_input }}

Pentru recuperarea parolei, te rugăm să introduci în câmpul de mai jos adresa de e-mail cu care te-ai înregistrat și apoi să apeși butonul Trimite.

@@ -48,7 +48,7 @@
- +
{% endblock %} diff --git a/backend/templates/v1/twopercent.html b/backend/templates/v1/twopercent.html index 4742bb46..7569a35b 100644 --- a/backend/templates/v1/twopercent.html +++ b/backend/templates/v1/twopercent.html @@ -178,7 +178,7 @@

Pasul 1. Completează și descarcă formularu