From 51237dc859e222a909611e784c4eb71582186e86 Mon Sep 17 00:00:00 2001 From: Aditya Anand M C Date: Mon, 16 Dec 2019 19:20:50 +0530 Subject: [PATCH] chore: address review comments --- app/assets/v2/css/grants/grant.css | 18 +++++++++--------- app/grants/templates/grants/index.html | 2 +- app/grants/views.py | 3 --- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/app/assets/v2/css/grants/grant.css b/app/assets/v2/css/grants/grant.css index 3aea5617314..0b5d5750da2 100644 --- a/app/assets/v2/css/grants/grant.css +++ b/app/assets/v2/css/grants/grant.css @@ -265,7 +265,7 @@ text-decoration: none; } -.select2-selection__arrow { +.grants-search .select2-selection__arrow { top: 0 !important; } @@ -306,36 +306,36 @@ margin-left: -33px; } -.partners { +.grant-partners { background: #0D0764; border-radius: 3px; } -.partners h2 { +.grant-partners h2 { letter-spacing: 3px; } -.partners img { +.grant-partners img { border-radius: 50px; width: 4rem; } -.partners .nav-tabs { +.grant-partners .nav-tabs { border: none; } -.partners .nav-link, -.nav-tabs .nav-line.active { +.grant-partners .nav-link, +.grant-partners .nav-tabs .nav-line.active { color: white; cursor: pointer; } -.partners .nav-link:hover{ +.grant-partners .nav-link:hover { border: none; } -.nav-tabs .nav-line.active { +.grant-partners .nav-tabs .nav-line.active { font-weight: 700; } diff --git a/app/grants/templates/grants/index.html b/app/grants/templates/grants/index.html index 7247c7b63a9..2bbc309a2da 100644 --- a/app/grants/templates/grants/index.html +++ b/app/grants/templates/grants/index.html @@ -133,7 +133,7 @@

{% trans 'Provide sustainable fun {% if current_partners or past_partners %} -
+

{{ type }} GRANTS CLR MATCHING ROUND 4 diff --git a/app/grants/views.py b/app/grants/views.py index b60b383bdda..145c5456f2c 100644 --- a/app/grants/views.py +++ b/app/grants/views.py @@ -116,7 +116,6 @@ def grants(request): for partner in current_partners: current_partners_fund += partner.amount - print(partner.amount) grant_amount = 0 grant_stats = Stat.objects.filter( @@ -150,8 +149,6 @@ def grants(request): {'label': 'Media', 'keyword': 'media', 'count': media_grants_count} ] - print(past_partners) - params = { 'active': 'grants_landing', 'title': matching_live + str(_('Gitcoin Grants Explorer')),