Changeset 2371
- Timestamp:
- 02/23/06 13:05:40 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/admin/templates/admin/change_form.html
r1928 r2371 22 22 {% endif %}{% endif %} 23 23 <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 %} 25 25 {% if bound_manipulator.save_on_top %}{% submit_row bound_manipulator %}{% endif %} 26 26 {% if form.error_dict %} django/trunk/django/contrib/admin/templates/admin_doc/bookmarklets.html
r1522 r2371 17 17 18 18 <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> 20 20 <p>{% trans "Jumps you from any page to the documentation for the view that generates that page." %}</p> 21 21
