8000 add "maximize your grant" blog link to new grant email by probablyangg · Pull Request #7945 · gitcoinco/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add "maximize your grant" blog link to new grant email #7945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions app/retail/templates/emails/grants/new_grant.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@
font-weight: 600;
}

.learn-more-button {
padding: 12px 36px;
font-size: 12px;
border-radius: 3px;
text-decoration: none;
background-color: #00D373;
color: white;
font-weight: 600;
}

#grant-logo {
max-width: 25rem;
width: 100%;
Expand All @@ -85,10 +95,14 @@ <h1>{% trans "New Grant Created" %}</h1>
<img id="grant-logo" 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 %}" alt="grant logo" >
<h1 class="grant-email-name">{{ grant.title }}</h1>
<p class="grant-description">{{ grant.description }}</p>
<p>{% trans "To view or edit your grant click the button below." %}</p>
<p style="margin: 2rem;">
<a class="grant-button" href="{% url 'grants:details' grant.pk grant.slug %}">{% trans "View Grant" %}</a>
</p>
<div>
<span>
<a class="grant-button" href="{% url 'grants:details' grant.pk grant.slug %}">{% trans "View Your Grant" %}</a>
</span>
<span>
<a class="learn-more-button" href="https://gitcoin.co/blog/how-to-maximize-your-matching-with-gitcoin-grants/">{% trans "Learn How to Maximize your Matching" %}</a>
</span>
</div>
<hr>

{% endblock %}
0