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(256) : '', 'currentLabel' => t('App logo'), 'formId' => $canUpdateSettings ? 'branding-logo-form' : '', 'deleteFormId' => $hasLogo && $canUpdateSettings ? 'branding-logo-delete-form' : '', 'deleteConfirm' => t('Remove the app logo?'), ]; require templatePath('partials/app-file-upload.phtml'); ?>
'favicon', 'accept' => 'image/png', 'hint' => t('PNG, square recommended (icons are center-cropped)'), 'currentSrc' => $hasFavicon ? asset('favicon/favicon-32x32.png') : '', 'currentLabel' => t('Favicon'), 'formId' => $canUpdateSettings ? 'branding-favicon-form' : '', 'deleteFormId' => $hasFavicon && $canUpdateSettings ? 'branding-favicon-delete-form' : '', 'deleteConfirm' => t('Remove the favicon?'), ]; require templatePath('partials/app-file-upload.phtml'); ?>