{% macro buybtn(edition, info, canTestEditions) %} {%- spaceless %} {% set currentEdition = craft.app.getLicensedEdition() is not sameas(null) ? craft.app.getLicensedEdition() : CraftEdition %} {% if edition == currentEdition %}
{{ "Installed"|t }}
{% if canTestEditions %}
{{ "Uninstall"|t }}
{% endif %} {% else %} {% if canTestEditions %}
{% endif %}
{% if info.salePrice %} {{ info.formattedPrice }} {{ info.formattedSalePrice }} {% else %} {{ info.formattedPrice }} {% endif %}
{% if canTestEditions %}
{{ "Test"|t }}
{% endif %} {% endif %} {% endspaceless -%} {% endmacro %} {% from _self import buybtn %} {% import "_includes/forms" as forms %}

Craft Client

{{ buybtn(CraftClient, editions[CraftClient], canTestEditions) }}

Craft Pro

{{ buybtn(CraftPro, editions[CraftPro], 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 Unlimited
{{ "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 targetting"|t }}
{{ "Content translations"|t }}
{{ "Locale-specific user permissions"|t }}
{{ buybtn(CraftClient, editions[CraftClient]) }} {{ buybtn(CraftPro, editions[CraftPro]) }}