aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2021-03-30 10:56:20 +0300
committerGravatar ks129 <[email protected]>2021-03-30 10:56:20 +0300
commitd54830db16642bf1e48df7598331739893ece18f (patch)
treea0369a22da163cb204550b477cbfc7f62ae8a03b /pydis_site/templates
parentAdd link to inferential thinking book resource (diff)
Remove everything payment-related from resources app
We decided not to include payment info right now. Payment data will be handled in future.
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/resources/resource_box.html10
1 files changed, 0 insertions, 10 deletions
diff --git a/pydis_site/templates/resources/resource_box.html b/pydis_site/templates/resources/resource_box.html
index 301da10f..af7c8d65 100644
--- a/pydis_site/templates/resources/resource_box.html
+++ b/pydis_site/templates/resources/resource_box.html
@@ -9,16 +9,6 @@
{% include "resources/resource_box_header.html" %}
{% endif %}
- {# Payment information section #}
- {% if 'payment' in resource %}
- <span class="fa-stack fa-1x payment-{{ resource.payment }}{% if 'payment_description' in resource and resource.payment_description != None %} has-tooltip-arrow has-tooltip-multiline" data-tooltip="{{ resource.payment_description }}"{% endif %}">
- <i class="far fa-sack-dollar fa-stack-{% if resource.payment == "free" %}1{% else %}2{% endif %}x"></i>
- {% if resource.payment == "free" %}
- <i class="far fa-ban fa-stack-2x"></i>
- {% endif %}
- </span>
- {% endif %}
-
<p class="is-italic">{{ resource.description|safe }}</p>
{# Icons #}