diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 6f23b83ee..0297c3e14 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -357,6 +357,7 @@ class Apps { '$delete' => ((local_channel() && $installed && $mode == 'edit') ? t('Delete') : ''), '$undelete' => ((local_channel() && $installed && $mode == 'edit') ? t('Undelete') : ''), '$deleted' => $papp['deleted'], + '$feature' => ((array_key_exists('categories',$papp)) ? true : false), '$featured' => ((strpos($papp['categories'], 'nav_featured_app') === false) ? false : true), '$navapps' => (($mode == 'nav') ? true : false) )); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 02ee689ce..52a8abb03 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2104,6 +2104,9 @@ dl.bb-dl > dd > li { font-size: 80px; color: $toolicon_colour; text-shadow: 3px 3px 3px lightgrey; +} + +.app-detail { text-align: center; } @@ -2112,4 +2115,4 @@ dl.bb-dl > dd > li { margin-top: 20px; margin-left: auto; margin-right: auto; -} \ No newline at end of file +} diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index 2ecb5a701..ba97ad501 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -11,19 +11,18 @@ {{/if}} - + {{if $install || $update || $delete || $feature}}
- {{if $install || $update || $delete }} {{if $install}}{{/if}} {{if $edit}}{{/if}} {{if $delete}}{{/if}} - {{/if}} - + {{if $feature}}{{/if}}
{{/if}} + {{/if}} {{else}}
  • {{if $icon}}{{else}}{{/if}}{{$app.name}}