Skip to content

Commit

Permalink
Merge pull request #989 from amakarudze/new-layout
Browse files Browse the repository at this point in the history
Change menu layout and primary fonts
  • Loading branch information
amakarudze authored May 22, 2024
2 parents e3f818b + 14c5c02 commit 1d9f200
Show file tree
Hide file tree
Showing 100 changed files with 4,217 additions and 2,584 deletions.
1 change: 1 addition & 0 deletions donations/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

urlpatterns = [
path("", views.index, name="index"),
path("donate/", views.donate, name="donate"),
path("charge/", views.charge, name="charge"),
path("success/<str:currency>/<str:amount>/", views.success, name="success"),
path("error/", views.error, name="error"),
Expand Down
9 changes: 8 additions & 1 deletion donations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@

def index(request):
context = {
"patreon_stats": FundraisingStatus.objects.all().first(), # TODO: This isn't used
"patreon_stats": FundraisingStatus.objects.first(), # TODO: This isn't used
}
return render(request, "donations/corporate_sponsorships.html", context)


def donate(request):
context = {
"patreon_stats": FundraisingStatus.objects.first(), # TODO: This isn't used
}
if settings.STRIPE_PUBLIC_KEY:
context.update({"form": StripeForm(), "STRIPE_PUBLIC_KEY": settings.STRIPE_PUBLIC_KEY})
Expand Down
1 change: 1 addition & 0 deletions organize/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
# path('remote_or_in_person/', views.remote_or_in_person, name='remote_or_in_person'),
path("suspend/", views.suspend, name="suspend"),
path("event_funding/", views.event_funding, name="event_funding"),
path("slack/", views.slack, name="slack"),
]
4 changes: 4 additions & 0 deletions organize/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,7 @@ def suspend(request):

def event_funding(request):
return render(request, "organize/event_funding.html", {})


def slack(request):
return render(request, "organize/slack.html")
Loading

0 comments on commit 1d9f200

Please sign in to comment.