-
-
Notifications
You must be signed in to change notification settings - Fork 775
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 #2946 from thelostone-mc/grants
grant/cancel-contribute revamp
- Loading branch information
Showing
15 changed files
with
103 additions
and
118 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.admin_profile a { | ||
color: #43484D; | ||
.admin_profile a, | ||
.grant-link a { | ||
color: #0D0764; | ||
} | ||
|
||
#grants_form input { | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,37 @@ | ||
{% load static humanize i18n grants_extra %} | ||
|
||
<div class="col-12 grant-banner py-5 row mx-0"> | ||
<div class="col-12 offset-md-2 col-md-3 py-4 banner-img"> | ||
<img src="{% if grant.logo and grant.logo.url %}{{ grant.logo.url }}{% else %}{% with grant_logo='v2/images/grants/logos/' id=grant.id|modulo:3 %} {% static grant_logo|addstr:id|add:'.png' %} {% endwith %} {% endif %}"> | ||
</div> | ||
<div class="col-12 offset-sm-1 col-sm-10 col-md-4 ml-md-5 py-4 my-auto"> | ||
<h1 class="font-title-xl grant-title mb-3"> | ||
<a href="{{ grant.reference_url }}" target="_blank">{{ grant.title }}</a> | ||
</h1> | ||
|
||
<div class="admin_profile"> | ||
{% trans "by" %} | ||
<a href="{% url 'profile' grant.admin_profile.handle %}"> | ||
{{ grant.admin_profile }} | ||
</a> | ||
</div> | ||
|
||
<div class="grant__progress mt-4"> | ||
<div class="progress"> | ||
<div class="progress-bar" style="width:{{ grant.percent_completed }}%"></div> | ||
</div> | ||
<div class="progress-text mt-2"> | ||
<div class="row"> | ||
<div class="col-6"> | ||
<span>{{ grant.amount_received|floatformat:2|intcomma }} DAI</span> | ||
<p>Current</p> | ||
</div> | ||
<div class="col-6 text-right"> | ||
<span>{{ grant.amount_goal|floatformat:2|intcomma }} DAI</span> | ||
<p>Goal</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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
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
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
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