{$app.name}{if isset($app.status_label) && $app.status_label} {$app.status_label}{/if}
{$app.summary}
{sprintf("[`License for using %s on %s has expired on %s`]",$app.name|escape,installerHelper::getDomain()|escape,waDatetime::format('humandate',$app.license_expire))}
[`Renew license`] {* ...or buy a permanent license *} {else} {* NEVER LICENSED *} {/if} {else} {* LICENSED INSTALLATION: EITHER FREE OR PAID *} {if $app.action == waInstallerApps::ACTION_UPDATE} {* UPDATES ARE AVAILABLE *} {elseif $app.commercial} {if $app.license_expire} {* COMMERCIAL LICENSE WITH AN EXPIRE DATE *}{sprintf("[`This is a licensed installation of %s on %s. License is valid through %s.`]",$app.name|escape, installerHelper::getDomain()|escape, $app.license_expire)}
[`Extend license`] {* ...or buy a permanent license *} {else} {* VALID LICENSE *}{sprintf("[`This is a valid licensed installation of %s on %s.`]",$app.name|escape, installerHelper::getDomain()|escape)}
[`Buy more licenses`]{sprintf("[`Additional licenses are required if you are using %s on more than one domain name (one license per domain).`]",$app.name|escape, '[`http://www.webasyst.com/help/1200/paid-app-licensing/`]')}
{/if} {else} {* FREE APP *} {if !empty($app.reviews.url)} {/if}{sprintf("[`You have the latest version of %s installed: %s`]",$app.name,$app.installed.version)}
{/if} {/if}{sprintf('[`%s will be automatically downloaded from Webasyst Store and installed immediately after you make payment.`]', $app.name|escape)} [`If you already have a license, click the button above to link it to this Webasyst installation.`]
{else} {* FREE APP *} {if empty($app.commercial)||empty($app.lease_price)||(ifset($app.lease_price) == 'free')}{sprintf('[`%s will be downloaded from Webasyst Store and installed automatically.`]', $app.name|escape)}
{else}{sprintf('[`%s will be downloaded from Webasyst Store and installed for free. Once installed, you will be able either to pay for the app on a monthly basis or to buy a permanent license.`]', $app.name|escape)}
{/if} {/if} {if !$app.applicable} {* DEPENDENCIES *}[`This application cannot be installed`]
{include file="templates/includes/requirements.html" item=$app inline} {/if}{$app.summary}
{$app.description}