Skip to content
New issue

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

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

Already on GitHub? # to your account

added web monetization message to foundation site #7713

Merged
merged 5 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion network-api/networkapi/templates/pages/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
{% block prefooter %}{% endblock %}

{% block footer_block %}
{% include "partials/footer.html" %}
{% include "partials/footer.html" with web_monetization=True %}
{% endblock %}
</div>
{% endblock %}
Expand Down
6 changes: 6 additions & 0 deletions network-api/networkapi/templates/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@
</ul>
</div>
</div>
{% if web_monetization %}
<div class='tw-mt-5'>
<p class="h5-heading tw-mt-5 tw-mb-0">{% trans "This website supports Web Monetization." %}</p>
<p class="body tw-mb-0"><a href="https://foundation.mozilla.org/campaigns/web-monetization/">{% trans "Read more" %}</a>{% trans " about our implementation" %}</p>
</div>
{% endif %}
{% if exclude_language_switcher != True %}
{% block language_switcher %}
<div class="tw-row tw-mt-7">
Expand Down