hasLogo(); $hasFavicon = app(\MintyPHP\Service\Branding\BrandingFaviconService::class)->hasFavicon(); ?>
t('Branding settings'), 'backHref' => 'admin/settings', 'backTitle' => t('Cancel'), 'actions' => [], ]; require templatePath('partials/app-details-titlebar.phtml'); ?>
'logo', 'accept' => 'image/svg+xml,image/png,image/jpeg,image/webp', 'hint' => t('Allowed file types: SVG, PNG, JPG, WEBP'), 'currentSrc' => $hasLogo ? appLogoUrl(128) : '', 'deleteAction' => $hasLogo ? 'admin/settings/logo-delete' : '', ]; require templatePath('partials/app-file-upload.phtml'); ?>
'favicon', 'accept' => 'image/png', 'hint' => t('Allowed file types: PNG'), 'currentSrc' => $hasFavicon ? asset('favicon/favicon-32x32.png') : '', 'currentLabel' => t('Favicon'), 'deleteAction' => $hasFavicon ? 'admin/settings/favicon-delete' : '', ]; require templatePath('partials/app-file-upload.phtml'); ?>