← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13330: if using msie 7, 8, 9, tag html element with corresponding class (ie7, ie8, ie9)

 

------------------------------------------------------------
revno: 13330
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-12-19 14:49:57 +0100
message:
  if using msie 7,8,9, tag html element with corresponding class (ie7, ie8, ie9)
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2013-12-18 11:53:56 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/main.vm	2013-12-19 13:49:57 +0000
@@ -1,5 +1,8 @@
 <!DOCTYPE HTML>
-<html#if( $manifest ) manifest="$manifest"#end>
+<!--[if IE 7]><html #if( $manifest ) manifest="$manifest" #end class="ie7"><![endif]-->
+<!--[if IE 8]><html #if( $manifest ) manifest="$manifest" #end class="ie8"><![endif]-->
+<!--[if IE 9]><html #if( $manifest ) manifest="$manifest" #end class="ie9"><![endif]-->
+<![if !IE]><html #if( $manifest ) manifest="$manifest" #end><![endif]>
   <head>
     <title>$encoder.htmlEncode( $applicationTitle )</title>
     <meta name="description" content="DHIS 2">