| 1 |
{if false === $isOptionsFormValid} |
| 2 |
<p> |
| 3 |
<span class="dashicons dashicons-warning"></span> {$translations['noGlobalSettings']|noescape} |
| 4 |
</p> |
| 5 |
{/if} |
| 6 |
|
| 7 |
{if $isOptionsFormValid && false === $hasPacketaShipping} |
| 8 |
<p> |
| 9 |
<span class="dashicons dashicons-warning"></span> {$translations['noPacketaShipping']|noescape} |
| 10 |
</p> |
| 11 |
{/if} |
| 12 |
|
| 13 |
{if $isOptionsFormValid && false === $hasExternalCarrier} |
| 14 |
<p> |
| 15 |
<span class="dashicons dashicons-warning"></span> {$translations['noExternalCarrier']|noescape} |
| 16 |
</p> |
| 17 |
{/if} |
| 18 |
|
| 19 |
{if $isOptionsFormValid && $isCodSettingNeeded} |
| 20 |
<p> |
| 21 |
<span class="dashicons dashicons-warning"></span> {$translations['noCodPaymentConfigured']|noescape} |
| 22 |
</p> |
| 23 |
{/if} |
| 24 |
|
| 25 |
{if $isOptionsFormValid} |
| 26 |
{if $activeCountries} |
| 27 |
<p> |
| 28 |
{$translations['activeCountriesNotice']}: |
| 29 |
{foreach $activeCountries as $activeCountry} |
| 30 |
<a href="{$activeCountry['url']}">{$activeCountry['name']}</a>{sep}, {/sep} |
| 31 |
{/foreach} |
| 32 |
</p> |
| 33 |
{else} |
| 34 |
<p> |
| 35 |
<span class="dashicons dashicons-warning"></span> {$translations['noActiveCountry']|noescape} |
| 36 |
</p> |
| 37 |
{/if} |
| 38 |
{/if} |
| 39 |
|
| 40 |
{if $survey->active} |
| 41 |
<hr> |
| 42 |
<p><strong>{$translations['surveyTitle']}</strong></p> |
| 43 |
<div class="packetery-survey"> |
| 44 |
<div>{$translations['surveyDescription']}</p> |
| 45 |
<p><a href="{$survey->url}" target="_blank" |
| 46 |
class="button button-primary">{$translations['surveyButtonText']}</a></p> |
| 47 |
</div> |
| 48 |
<div> |
| 49 |
<img src="{$survey->image}" alt="{$translations['packeta']}"> |
| 50 |
</div> |
| 51 |
</div> |
| 52 |
{/if} |
| 53 |
|