From 6eb84a3d9a9e09a12a7c30cf45844af809e8a9a3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 21 Aug 2021 08:25:15 +0000 Subject: restructure apps to make space for app descritions --- view/tpl/app.tpl | 63 +++++++++++++++++++++++++++++++++-------------------- view/tpl/myapps.tpl | 2 +- 2 files changed, 40 insertions(+), 25 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index b5957a373..5809a3edb 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -1,32 +1,47 @@ {{if ! ($navapps || $order)}} -
- - {{if $app.type !== 'system'}} - {{if $purchase}} -
- + +
+
+ {{if $app.type !== 'system'}} + {{if $purchase}} +
+ +
+ {{/if}} + {{if $action_label || $update || $delete || $feature}} +
+
+ + {{if $action_label}}{{/if}} + {{if $edit}}{{/if}} + {{if $delete}}{{/if}} + {{if $settings_url}}{{/if}} + {{if $feature}}{{/if}} + {{if $pin}}{{/if}} +
+
+ {{/if}} + {{/if}}
- {{/if}} - {{if $action_label || $update || $delete || $feature}} -
-
- - {{if $action_label}}{{/if}} - {{if $edit}}{{/if}} - {{if $delete}}{{/if}} - {{if $feature}}{{/if}} - {{if $pin}}{{/if}} - {{if $settings_url}}{{/if}} -
+

{{$app.name}}{{if $app.price}} ({{$app.price}}){{/if}}

+ +
+
+
+ + {{if $icon}} + + {{else}} + + {{/if}} + +
+ {{if $app.desc}}{{$app.desc}}{{/if}} +
- {{/if}} - {{/if}}
{{/if}} + {{if $navapps}} {{if $icon}}{{else}}{{/if}}{{$app.name}} {{/if}} diff --git a/view/tpl/myapps.tpl b/view/tpl/myapps.tpl index 0b74c7b27..404ab73d3 100644 --- a/view/tpl/myapps.tpl +++ b/view/tpl/myapps.tpl @@ -9,7 +9,7 @@ {{/if}}

{{$title}}{{if $cat.0}} - {{$cat.0}}{{/if}}

-
+
{{foreach $apps as $ap}} {{$ap}} {{/foreach}} -- cgit v1.2.3