Author: mtredinnick
Date: 2009-04-18 22:06:29 -0500 (Sat, 18 Apr 2009)
New Revision: 10598

Modified:
   django/trunk/django/contrib/admin/templates/admin/base.html
Log:
Fixed #9420 -- Fixed admin templates CSS.

Removed some unconditional, invalid, IE-specific notations that were
protecting IE 5 users. IE 5 is sufficiently old, we don't really need to
do that and helping that small userbase at the expense of everybody else
was a slight priority inversion.

Patch from G2P and reviwed by Wilson Miner (who made the original
changes).

Modified: django/trunk/django/contrib/admin/templates/admin/base.html
===================================================================
--- django/trunk/django/contrib/admin/templates/admin/base.html 2009-04-19 
02:37:44 UTC (rev 10597)
+++ django/trunk/django/contrib/admin/templates/admin/base.html 2009-04-19 
03:06:29 UTC (rev 10598)
@@ -2,12 +2,10 @@
 <html xmlns="http://www.w3.org/1999/xhtml"; lang="{{ LANGUAGE_CODE }}" 
xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
 <head>
 <title>{% block title %}{% endblock %}</title>
-<![if gte IE 6]><!-- Block all styles from IE5 and lower -->
 <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load 
adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />
 {% block extrastyle %}{% endblock %}
 <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block 
stylesheet_ie %}{% load adminmedia %}{% admin_media_prefix %}css/ie.css{% 
endblock %}" /><![endif]-->
 {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block 
stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif 
%}
-<![endif]>
 {% block extrahead %}{% endblock %}
 {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% 
endblock %}
 </head>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to