{% extends "layout.html" %} {% block content %}
{% if category.description == "" %}
{{ category.name }}
{% endif %}
{% if category.description != "" %}
{{ category.description|raw }}
{% endif %} {% if category.packages|length > 0 %}
{% if category.displayType == "list" %}
{% for package in category.packages %} {% endfor %}
{{ package.name }} {% if package.countdownEnds %}   {{ __("Ending Soon!") }}{% endif %} {% if package.customPrice == false and package.price > 0 %} {% if package.discount.applied %} {{ package.discount.original|money }} {% endif %} {{ package.price|money }} {{ basket.currency }} {% endif %} {% if package.basket %} {{ __("Remove") }} {% else %} {{ __("Buy") }} {% endif %}
{% else %}
{% for package in category.packages %}
{{ package.name[:20] }} {% if package.countdownEnds %}
{{ __("Ending Soon!") }}{% endif %}
{% if package.customPrice == false and package.price > 0.00 %} {% if package.discount.applied %} {{ package.discount.original|money }} {% endif %} {{ package.price|money }} {{ basket.currency }} {% endif %}
{% if package.basket %} {{ __("Remove") }} {% else %} {{ __("Buy") }} {% endif %}
{% endfor %}
{% endif %}
{% else %} {{ __("No packages to display in this category.") }} {% endif %}
{% endblock %}