aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-21 09:40:03 +0200
committerStas Vilchik <vilchiks@gmail.com>2014-07-21 09:40:03 +0200
commit53c29de7a303533044b05d6d23dffdd624728661 (patch)
tree88ec2c3a6bfb5ece97e43892f6a0ec4d945541dd /server
parentdad2042ccb603bddca0f117c3b21041ac1397c22 (diff)
downloadsonarqube-53c29de7a303533044b05d6d23dffdd624728661.tar.gz
sonarqube-53c29de7a303533044b05d6d23dffdd624728661.zip
SONAR-5421 Fix MSIE compatibility mode issues
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb5
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_head.html.erb5
2 files changed, 6 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb
index 217d6953261..1512e0ea45a 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb
@@ -1,8 +1,9 @@
<!--[if lte IE 7 ]>
<div style="position:fixed;z-index:99999;top:0;bottom:0;left:0;right:0;background:#fff;">
<div style="margin-top:150px;text-align:center;line-height:1.4;color:#333;">
- The web interface cannot be displayed because IE 7 is not supported.<br>
- Please switch to a <a target="_blank" href="http://docs.codehaus.org/x/zYHEBg">supported version or another supported browser</a>.
+ The web interface cannot be displayed because your browser is not supported.<br>
+ Please switch to a <a class="underlined-link" target="_blank"
+ href="http://docs.codehaus.org/x/zYHEBg">supported version or another supported browser</a>.
</div>
</div>
<!--<![endif]-->
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_head.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_head.html.erb
index 8d453ceb92f..25be7638c90 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_head.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/layouts/_head.html.erb
@@ -2,9 +2,10 @@
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html class=""> <!--<![endif]-->
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="gwt:property" content="locale=<%= I18n.locale.to_s.gsub(/-/, '_') -%>">
- <link rel="shortcut icon" type="image/x-icon" href="<%= image_path('favicon.ico') -%>"/>
+ <link rel="shortcut icon" type="image/x-icon" href="<%= image_path('favicon.ico') -%>">
<%
if @page_title
title="SonarQube - #{h(@page_title)}"