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

{% endif %}
{# is it elligible to be purchased? #} {% if edition > licensedEdition %}
{% if info.salePrice %} {{ info.formattedPrice }} {{ info.formattedSalePrice }} {% else %} {{ info.formattedPrice }} {% endif %}
{% endif %} {# if the domain is allowed to test editions, show an uninstall/test button #} {% if canTestEditions %} {% if edition == CraftEdition %}
{{ "Uninstall"|t }}
{% else %}
{{ "Test"|t }}
{% endif %} {% 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) }}
{{ "Content Publishing"|t }}
{{ "Unlimited Singles and Channels"|t }}
{{ "Structure sections"|t }}
{{ "Entry versioning"|t }}
{{ "Entry drafts"|t }}
{{ "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) }}