{% macro buybtn(edition, info, licensedEdition, canTestEditions) %} {%- spaceless %} {# Is it already installed? #} {% if edition == CraftEdition %}
{{ "Installed"|t }}

{% endif %}
{# Show the "Buy" button if this edition is greater than the licensed edition #} {% if edition > licensedEdition %}
{% if info.salePrice %} {{ info.formattedPrice }} {{ info.formattedSalePrice }} {% else %} {{ info.formattedPrice }} {% endif %}
{% endif %} {# Show the "Test" 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 %}
{{ "Test"|t }}
{% endif %} {# Show the "Install" button if they’re licensed to use this edition but not currently on it #} {% if edition == licensedEdition and edition != CraftEdition %}
{{ "Install"|t }}
{% endif %} {# Show the "Uninstall" button if this is the currently-installed edition, but is not licensed #} {% if edition == CraftEdition and edition > licensedEdition %}
{{ "Uninstall"|t }}
{% endif %}
{% endspaceless -%} {% endmacro %} {% from _self import buybtn %} {% import "_includes/forms" as forms %}

Craft Client

Craft Pro

{{ buybtn(CraftClient, editions[CraftClient], licensedEdition, canTestEditions) }} {{ buybtn(CraftPro, editions[CraftPro], licensedEdition, canTestEditions) }}
{{ "User Accounts"|t }}
{{ "Additional user accounts"|t }} {{ "One “Client” account"|t }} {{ "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(CraftClient, editions[CraftClient], licensedEdition, canTestEditions) }} {{ buybtn(CraftPro, editions[CraftPro], licensedEdition, canTestEditions) }}