Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
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
10 changes: 10 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,16 @@
</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">
{% blocktrans with url="https://foundation.mozilla.org/campaigns/web-monetization/" trimmed %}
<a href="{{ url }}">Read more</a> about our implementation
{% endblocktrans %}
</p>
</div>
{% endif %}
{% if exclude_language_switcher != True %}
{% block language_switcher %}
<div class="tw-row tw-mt-7">
Expand Down