[icinga-checkins] icinga.org: icingaweb2/master: Add meta tags for using Web 2 as mobile web app bookmark

git at icinga.org git at icinga.org
Tue Jun 7 14:14:30 CEST 2016


Module: icingaweb2
Branch: master
Commit: c59bd73e0621a70381f3b4791aeb1c94c353d529
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=c59bd73e0621a70381f3b4791aeb1c94c353d529

Author: Florian Strohmaier <florian.strohmaier at netways.de>
Date:   Mon Jun  6 11:17:36 2016 +0200

Add meta tags for using Web 2 as mobile web app bookmark

refs #11910

---

 application/layouts/scripts/layout.phtml |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/application/layouts/scripts/layout.phtml b/application/layouts/scripts/layout.phtml
index d21c56f..b50f101 100644
--- a/application/layouts/scripts/layout.phtml
+++ b/application/layouts/scripts/layout.phtml
@@ -29,6 +29,9 @@ $innerLayoutScript = $this->layout()->innerLayout . '.phtml';
   <meta http-equiv="cleartype" content="on">
   <title><?= $this->title ? $this->escape($this->title) : 'Icinga Web' ?></title>
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+  <meta name="apple-mobile-web-app-capable" content="yes">
+  <meta name="application-name" content="Icinga Web 2">
+  <meta name="apple-mobile-web-app-title" content="Icinga">
 <?php if ($isIframe): ?>
   <base target="_parent"/>
 <?php else: ?>



More information about the icinga-checkins mailing list