{% load subscription_tags %}
{% for plan in plans %}
{% if highlight_plan == plan.slug %}
Most Popular
{% endif %}

{{ plan.name }}

{% if plan.description %}

{{ plan.description }}

{% endif %}
${{ plan.price }} / {{ plan.get_billing_period_display|lower }}
{% if show_trial and plan.trial_period_days > 0 %}

{{ plan.trial_period_days }}-day free trial

{% endif %}
{% plan_features plan as features %} {% if features %}
    {% for plan_feature in features %}
  • {{ plan_feature.feature.name }} {% if plan_feature.feature.feature_type == 'quota' %} {% if plan_feature.effective_quota %} ({{ plan_feature.effective_quota }} {{ plan_feature.feature.quota_unit }}) {% else %} (Unlimited) {% endif %} {% endif %}
  • {% endfor %}
{% endif %}
{% if user.is_authenticated %} {% subscription_info as sub_info %} {% if sub_info and sub_info.plan.slug == plan.slug %} {% else %} {% if sub_info %}Change to {{ plan.name }}{% else %}Get Started{% endif %} {% endif %} {% else %} Get Started {% endif %}
{% endfor %}
{% if not plans %}

No subscription plans available at this time.

{% endif %}