Django

Code

Changeset 2371

Show
Ignore:
Timestamp:
02/23/06 13:05:40 (3 years ago)
Author:
adrian
Message:

Fixed #1387 -- Fixed some XHTML errors in admin templates. Thanks, vineet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/admin/templates/admin/change_form.html

    r1928 r2371  
    2222{% endif %}{% endif %} 
    2323<form {{ bound_manipulator.form_enc_attrib }} action="{{ form_url }}" method="post">{% block form_top %}{% endblock %} 
    24 {% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} 
     24{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %} 
    2525{% if bound_manipulator.save_on_top %}{% submit_row bound_manipulator %}{% endif %} 
    2626{% if form.error_dict %} 
  • django/trunk/django/contrib/admin/templates/admin_doc/bookmarklets.html

    r1522 r2371  
    1717 
    1818<div id="content-main"> 
    19     <h3><a href="javascript:(function(){if(typeof ActiveXObject!='undefined'){x=new ActiveXObject('Microsoft.XMLHTTP')}else if(typeof XMLHttpRequest!='undefined'){x=new XMLHttpRequest()}else{return;}x.open('HEAD',location.href,false);x.send(null);try{view=x.getResponseHeader('x-view');}catch(e){alert('No view found for this page');return;}if(view=="undefined"){alert("No view found for this page");}document.location='{{ admin_url }}doc/views/'+view+'/';})()">{% trans "Documentation for this page" %}</a></h3> 
     19    <h3><a href="javascript:(function(){if(typeof ActiveXObject!='undefined'){x=new ActiveXObject('Microsoft.XMLHTTP')}else if(typeof XMLHttpRequest!='undefined'){x=new XMLHttpRequest()}else{return;}x.open('HEAD',location.href,false);x.send(null);try{view=x.getResponseHeader('x-view');}catch(e){alert('No view found for this page');return;}if(view=='undefined'){alert('No view found for this page');}document.location='{{ admin_url }}doc/views/'+view+'/';})()">{% trans "Documentation for this page" %}</a></h3> 
    2020    <p>{% trans "Jumps you from any page to the documentation for the view that generates that page." %}</p> 
    2121