{% load humanize markup icons %} {% load url from future %}
{% for plan in matrix.headings %} |
{{ plan.name }}
{% if not upgrade and not selected_plan %}
{% if not plan.price_monthly %} Free {% else %} {{ plan.price_monthly }} per month or {{ plan.price_yearly }} per year {% endif %} {% endif %} |
{% endfor %}
---|---|
{{ row.heading }} {% if not upgrade %}
{{ row.description|markdown }}
{% endif %}
|
{% for column in row.columns %}
{% if row.boolean %} {% if column.value %}✓{% else %}✗{% endif %} {% elif column.value != '-1' %} {{ column.value|capfirst|intcomma }} {% else %} Unlimited {% endif %} | {% endfor %}
{% for plan in matrix.headings %} | {% if not upgrade %} {% icon 'user' 'white' %} {% ifnotequal selected_plan.pk plan.pk %}Sign up{% else %}Selected{% endifnotequal %} {% else %} {% icon 'share-alt' 'white' %} Upgrade {% endif %} | {% endfor %}{% for plan in matrix.headings %} | {% if not plan.price_monthly %} Free {% else %} {{ plan.price_monthly }} {% endif %} | {% endfor %} {% endif %}