File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717fs_encoding = sys .getfilesystemencoding () or sys .getdefaultencoding ()
1818app_template_dirs = []
1919for app in settings .INSTALLED_APPS :
20- try :
21- mod = import_module (app )
22- except ImportError , e :
23- raise ImproperlyConfigured ('ImportError %s: %s' % (app , e .args [0 ]))
20+ mod = import_module (app )
21+
2422 template_dir = os .path .join (os .path .dirname (mod .__file__ ), 'templates' )
2523 if os .path .isdir (template_dir ):
2624 app_template_dirs .append (template_dir .decode (fs_encoding ))
Original file line number Diff line number Diff line change 5454</ head >
5555< body class ="yui-skin-sam " {% block bodyAttrs %}{%endblock%} >
5656< div style ="background-color:{% if server_mode %}{% ifnotequal server_mode "production " %}#c00000{% else %}#313163{% endifnotequal %}{%else %}#313163{%endif%};color:white;font-size:150%;height:35px;" class="noprint ">
57- < a href ="/ " style ="text-decoration:none;color:white "> < img src ="/images/ietflogo-blue-small.png " width ="60 " height ="34 " style ="vertical-align:middle;padding-left:8px; " alt =""/> < span style =" padding-left:15px;font-weight:bold;letter-spacing:0.1em; " > datatracker.ietf.org</ a > {% if server_mode %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper}} MODE{% endifnotequal %}{% endif %}</ span >
57+ < span style =" padding-left:15px;font-weight:bold;letter-spacing:0.1em; " > < a href ="/ " style ="text-decoration:none;color:white "> < img src ="/images/ietflogo-blue-small.png " width ="60 " height ="34 " style ="vertical-align:middle;padding-left:8px; " alt =""/> datatracker.ietf.org</ a > {% if server_mode %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper}} MODE{% endifnotequal %}{% endif %}</ span >
5858</ div >
5959
6060{% if user %}
You can’t perform that action at this time.
0 commit comments