diff options
author | 2021-03-30 10:56:20 +0300 | |
---|---|---|
committer | 2021-03-30 10:56:20 +0300 | |
commit | d54830db16642bf1e48df7598331739893ece18f (patch) | |
tree | a0369a22da163cb204550b477cbfc7f62ae8a03b /pydis_site/templates | |
parent | Add 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.html | 10 |
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 #} |