-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1478 from laws-africa/donate
Seylii donate button and page
- Loading branch information
Showing
7 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ | |
LANGUAGES = [ | ||
("en", _("English")), | ||
] | ||
|
||
ROOT_URLCONF = "seylii.urls" # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,7 @@ footer { | |
.btn.btn-primary { | ||
color: #fff; | ||
} | ||
|
||
.donate { | ||
background-color: transparentize($primary, 0.80); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{% extends "peachjam/layouts/main.html" %} | ||
{% load i18n %} | ||
{% block title %} | ||
{% trans 'Donate' %} | ||
{% endblock %} | ||
{% block page-content %} | ||
<section class="container my-4"> | ||
<h1>Donate to the Seychelles Legal Information Institute</h1> | ||
<p> | ||
Donate to the Seychelles Legal Information Institute (SEYLII) and support our work to providing free and anonymous access to case law, legislation and secondary legal materials from the Seychelles. SeyLII is an independent, self-funded organisation and needs your support. Your contribution will make a real difference and help us bring to life various of our projects for 2022-2025. (<a href="{% url 'document_detail' 'akn/sc/doc/strategic-plan/2022-10-31/seylii-strategic-plan/eng@2022-10-31' %}">Link to our strategic plan</a>) | ||
</p> | ||
<p>If you would like to make a cash donation please see our banking details below:</p> | ||
<p> | ||
Account name: <strong>SEYLII ASSOCIATION OF SEYCHELLES</strong> | ||
</p> | ||
<p> | ||
Bank name: <strong>The Mauritius Commercial Bank (Seychelles) Ltd</strong> | ||
</p> | ||
<p> | ||
Bank Address: <strong>P.O Box 122 - Main Branch, Caravelle House, Manglier Street, Victoria, Mahe, Republic of Seychelles +2 48 428 4555 F: +248 432 2676</strong> | ||
</p> | ||
<p> | ||
Account number: <strong>00000426814</strong> | ||
</p> | ||
<p> | ||
BRN: <strong>A431282</strong> | ||
</p> | ||
<p> | ||
SWIFT: <strong>MCBLSCSC</strong> | ||
</p> | ||
<p> | ||
If you wish to donate to a specific project, to donate in kind or to learn how you may assist us in other ways please do not hesitate to contact us via email on <a href="mailto:[email protected]">[email protected]</a> for more information. | ||
</p> | ||
</section> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from django.urls import include, path | ||
|
||
from seylii.views import DonatePageView | ||
|
||
urlpatterns = [ | ||
path("donate/", DonatePageView.as_view(), name="donate"), | ||
path("", include("liiweb.urls")), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from django.views.generic import TemplateView | ||
|
||
|
||
class DonatePageView(TemplateView): | ||
template_name = "seylii/donate.html" |