aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2013-11-29 12:04:56 +0600
committerStas Vilchik <vilchiks@gmail.com>2013-11-29 12:04:56 +0600
commit8bb928a35d5569834116cd0dbceb10e95ec2753c (patch)
treec229ba470f3ccb150b45e930bc1499bfc39d218a /sonar-server
parent63bab850aab22f67746e31602138143e54f7d51a (diff)
downloadsonarqube-8bb928a35d5569834116cd0dbceb10e95ec2753c.tar.gz
sonarqube-8bb928a35d5569834116cd0dbceb10e95ec2753c.zip
SONAR-4806 Do not display the SonarQube web interface if IE 7 is used
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb12
1 files changed, 11 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb
index e5279862a19..217d6953261 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_footer.html.erb
@@ -1,6 +1,16 @@
+<!--[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>.
+ </div>
+</div>
+<!--<![endif]-->
+
+
</body><script>
<% if flash[:notice] %>info('<%=escape_javascript(flash[:notice])-%>');<% end %>
<% if flash[:warning] %>warning('<%=escape_javascript(flash[:warning])-%>');<% end %>
<% if flash[:error] %>error('<%=escape_javascript(flash[:error])-%>');<% end %>
</script>
-</html> \ No newline at end of file
+</html>