layout-script: disable chrome translate suggestion

The way Chrome suggests translation is ugly and may result in a GUI
"jumping up and down". One more vendor specific meta attribute :(
This commit is contained in:
Thomas Gelf 2014-05-20 22:41:34 +00:00
parent 78bc2b4ec7
commit bfff645a08
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ $isIframe = isset($_GET['_render']) && $_GET['_render'] === 'iframe';
<head>
<meta charset="utf-8">
<meta content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<meta name="google" value="notranslate">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?= $this->title ? $this->escape($this->title) : 'Icinga Web' ?></title>
<!-- TODO: viewport and scale settings make no sense for us, fix this -->