Skip to content

Commit 69018dc

Browse files
authored
fix: ensure ecosystem mini-banners are displayed correctly (#9769)
1 parent 669eb31 commit 69018dc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/grants/templates/grants/landing/active_clr_round.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ <h4 class="font-weight-bold mb-2">Discover Match Pools</h4>
1717
{% include 'grants/landing/round_by_type.html' with active_rounds=active_cause_rounds %}
1818
{% endif %}
1919

20-
{% if active_sponsor_rounds %}
21-
{% include 'grants/landing/round_by_type.html' with active_rounds=active_sponsor_rounds %}
20+
{% if active_ecosystem_rounds %}
21+
{% include 'grants/landing/round_by_type.html' with active_rounds=active_ecosystem_rounds %}
2222
{% endif %}
2323

2424
{# Hard-coding the Gitcoin Building Gitcoin mini banner ... #}

app/grants/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ def grants_landing(request):
933933

934934
active_main_rounds= active_rounds.filter(type='main').order_by('-total_pot')
935935
active_cause_rounds= active_rounds.filter(type='cause').order_by('-total_pot')
936-
active_sponsor_rounds= active_rounds.filter(type='sponsor').order_by('-total_pot')
936+
active_ecosystem_rounds= active_rounds.filter(type='ecosystem').order_by('-total_pot')
937937

938938

939939
now = datetime.now()
@@ -955,7 +955,7 @@ def grants_landing(request):
955955
'has_active_rounds': True if active_rounds else False,
956956
'active_main_rounds': active_main_rounds,
957957
'active_cause_rounds': active_cause_rounds,
958-
'active_sponsor_rounds': active_sponsor_rounds,
958+
'active_ecosystem_rounds': active_ecosystem_rounds,
959959
'sponsors': sponsors,
960960
'featured': True,
961961
'now': now,

0 commit comments

Comments
 (0)