add arba yesodot access from homepage

This commit is contained in:
Yisroel Baum 2024-09-24 14:37:34 +03:00
parent 4aca571930
commit 1d313233a6

View file

@ -13,12 +13,17 @@
{% block content %}
<main>
<div class="container my-4 px-5">
<div class="text-center mb-4">
<a href="{{ url_for('arba_yesodot.arba_yesodot_homepage') }}" class="btn btn-primary">Check out the arba yesodot program!</a>
</div>
<h2 class="text-center">Visit Campaigns</h2>
<table class="table table-bordered table-striped custom-table">
<thead class="table-dark">
<tr>
<th>Title</th>
<th>Goal</th>
<th>Raised</th>
<th>Campaign Link</th>
</tr>
</thead>
@ -26,6 +31,8 @@
{% for campaign in active_campaigns %}
<tr>
<td>{{campaign.title}}</td>
<td>{{campaign.goal}}</td>
<td>{{campaign.get_amount_raised()}}</td>
<td><a href="{{url_for('campaigns.campaign_page', campaign_id=campaign.id)}}">See campaign details</a></td>
</tr>
{% endfor %}