{% macro statusBadge(edition, licensedEdition) %} {% if edition == CraftEdition %} {% if edition <= licensedEdition %}
{{ "Installed"|t }}
{% else %}
{{ "Installed as a trial"|t }}
{% endif %} {% elseif edition == licensedEdition %}
{{ "Licensed"|t }}
{% endif %} {% endmacro %} {% macro price(edition, info) %} {% if info.salePrice %} {% set price %}{{ info.formattedPrice }} {{ info.formattedSalePrice }}{% endset %} {% else %} {% set price = info.formattedPrice %} {% endif %} {{ "{price} plus {renewalPrice}/year for updates"|t({ price: price, renewalPrice: info.formattedRenewalPrice }) }} {% endmacro %} {% macro buybtn(edition, info, licensedEdition, canTestEditions) %} {%- spaceless %}
{# Show the "Buy" button if this edition is greater than the licensed edition #} {% if edition > licensedEdition %}
{{ "Buy now"|t }}
{% endif %} {# Show the "Try" button if they're on a testable domain, this is not the current edition, and is greater than the licensed edition #} {% if canTestEditions and edition != CraftEdition and edition > licensedEdition %}
{{ "Try for free"|t }}
{% endif %} {# Show the "Reactivate" button if they’re licensed to use this edition but not currently on it #} {% if edition == licensedEdition and edition != CraftEdition %}
{{ "Reactivate"|t }}
{% endif %}
{% endspaceless -%} {% endmacro %} {% from _self import statusBadge, price, buybtn %} {% import "_includes/forms" as forms %}

Solo

{{ "For when you’re building a website for yourself or a friend."|t('app') }}

Pro

{{ "For when you’re building something professionally for a client or team."|t }}

{{ statusBadge(CraftPersonal, licensedEdition) }} {{ statusBadge(CraftPro, licensedEdition) }}
{{ "Free"|t('app') }} {{ price(CraftPro, editions[CraftPro]) }}
{{ buybtn(CraftPersonal, editions[CraftPersonal], licensedEdition, canTestEditions) }} {{ buybtn(CraftPro, editions[CraftPro], licensedEdition, canTestEditions) }}
{{ "User Accounts"|t }}
{{ "Additional user accounts"|t }} {{ "One Admin account"|t('app') }} {{ "Unlimited"|t }}
{{ "User groups"|t }}
{{ "User permissions"|t }}
{{ "Public user registration"|t }}
{{ "System Branding"|t }}
{{ "Custom login screen logo"|t }}
{{ "Custom HTML email template"|t }}
{{ "Custom email message wording"|t }}
{{ "Assets"|t }}
{{ "Amazon S3 support"|t }}
{{ "Rackspace Cloud Files support"|t }}
{{ "Google Cloud Storage support"|t }}
{{ "Localization and Translation"|t }}
{{ "Section and entry locale targeting"|t }}
{{ "Content translations"|t }}
{{ "Locale-specific user permissions"|t }}
{{ buybtn(CraftPro, editions[CraftPro], licensedEdition, canTestEditions) }}