Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/modules/web/Controllers/Helpers/LayoutHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public function initBody()
$this->view->assign('app_website_url', AppInfoInterface::APP_WEBSITE_URL);
$this->view->assign('app_blog_url', AppInfoInterface::APP_BLOG_URL);
$this->view->assign('app_version', Installer::VERSION_TEXT);
$this->view->assign('app_icon', $baseUrl . '/public/images/apple-touch-icon.png');
$this->view->assign('logo_icon', $baseUrl . '/public/images/logo_icon.png');
$this->view->assign('logo_no_bg_color', $baseUrl . '/public/images/logo_full_nobg_outline_color.png');
$this->view->assign('logo_no_bg', $baseUrl . '/public/images/logo_full_nobg_outline.png');
Expand Down Expand Up @@ -411,4 +412,4 @@ protected function initialize()

$this->view->assign('loggedIn', $this->loggedIn);
}
}
}
2 changes: 2 additions & 0 deletions app/modules/web/themes/material-blue/views/_layouts/main.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ use SP\Mvc\View\Template;
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png"
href="<?php echo $_getvar('logo_icon'); ?>">
<link rel="apple-touch-icon" type="image/png"
href="<?php echo $_getvar('app_icon'); ?>">
<?php foreach ($_getvar('cssLinks') as $cssLink): ?>
<link rel="stylesheet" href="<?php echo $cssLink; ?>"/>
<?php endforeach; ?>
Expand Down
Binary file added public/images/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.