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

git at icinga.org git at icinga.org
Mon Jun 6 11:18:15 CEST 2016


Module: icingaweb2
Branch: feature/mobile-meta-tags
Commit: 6ae87146ddaa89843f9485defc0a359006c2f354
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=6ae87146ddaa89843f9485defc0a359006c2f354

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

Add meta tags for using icinga as mobile web app bookmark

---

 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..a0feb8e 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="IcingaWeb 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