mirror of https://github.com/django/django.git
Fixed #822 -- Changed 500 view to use disclosure triangles instead of up/down arrows. Thanks, aaronsw
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6be0210763
commit
b1603563a3
|
@ -183,8 +183,8 @@ TECHNICAL_500_TEMPLATE = """
|
||||||
function varToggle(link, id) {
|
function varToggle(link, id) {
|
||||||
toggle('v' + id);
|
toggle('v' + id);
|
||||||
var s = link.getElementsByTagName('span')[0];
|
var s = link.getElementsByTagName('span')[0];
|
||||||
var uarr = String.fromCharCode(0x2191);
|
var uarr = String.fromCharCode(0x25b6);
|
||||||
var darr = String.fromCharCode(0x2193);
|
var darr = String.fromCharCode(0x25bc);
|
||||||
s.innerHTML = s.innerHTML == uarr ? darr : uarr;
|
s.innerHTML = s.innerHTML == uarr ? darr : uarr;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -240,7 +240,7 @@ TECHNICAL_500_TEMPLATE = """
|
||||||
|
|
||||||
{% if frame.vars %}
|
{% if frame.vars %}
|
||||||
<div class="commands">
|
<div class="commands">
|
||||||
<a href="#" onclick="return varToggle(this, '{{ frame.id }}')">Local vars <span>↓</span> </a>
|
<a href="#" onclick="return varToggle(this, '{{ frame.id }}')"><span>▶</span> Local vars</a>
|
||||||
</div>
|
</div>
|
||||||
<table class="vars" id="v{{ frame.id }}">
|
<table class="vars" id="v{{ frame.id }}">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
Loading…
Reference in New Issue