Frio: Show mobile theme selection only if mobile themes are available

This commit is contained in:
rabuzarus 2017-01-05 02:52:39 +01:00
parent 0c65dbb8db
commit 0994a0ced5

View File

@ -22,7 +22,10 @@
{{include file="field_themeselect.tpl" field=$theme}}
{{* Show the mobile theme selection only if mobile themes are available *}}
{{if count($mobile_theme.4) > 1}}
{{include file="field_themeselect.tpl" field=$mobile_theme}}
{{/if}}
<div class="form-group pull-right settings-submit-wrapper" >
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit|escape:'html'}}">{{$submit}}</button>