{*
*}

{$app.name|string_format:'[s`Design themes for %s app`]'|escape}

{include file="./Themes.installed_themes.html" inline}

[s`Upload theme`]

[s`Theme must be uploaded as a valid Webasyst design theme archive (.tar.gz archive with theme files and theme.xml manifest file).`]

{$wa->csrf()}
[s`or`] [s`cancel`]

{sprintf("[s`Start using this theme on one of your existing %s app routes, or create a new route:`]", $app.name)}

[s`Existing route`]
{foreach $routes as $r}
{foreachelse}
{sprintf('[s`There are no routes for %s app on this site yet.`]', $app.name)}
{/foreach}
[s`New route`]
{if count($domains) == 1} {current($domains)}/{else} / {/if}
[s`or`] [s`cancel`]