[Python-checkins] r88810 - in tracker/instances/python-dev/html: issue.item.html issue.item.js
martin.v.loewis
python-checkins at python.org
Thu Mar 31 18:45:04 CEST 2011
Author: martin.v.loewis
Date: Thu Mar 31 18:45:03 2011
New Revision: 88810
Log:
Revert form folding.
Modified:
tracker/instances/python-dev/html/issue.item.html
tracker/instances/python-dev/html/issue.item.js
Modified: tracker/instances/python-dev/html/issue.item.html
==============================================================================
--- tracker/instances/python-dev/html/issue.item.html (original)
+++ tracker/instances/python-dev/html/issue.item.html Thu Mar 31 18:45:03 2011
@@ -27,7 +27,7 @@
replace="context/id" i18n:name="id" /> Editing</span>
</tal:block>
-<div class="content" metal:fill-slot="content">
+<td class="content" metal:fill-slot="content">
<p tal:condition="python:not (context.is_view_ok()
or request.user.hasRole('Anonymous'))" i18n:translate="">
@@ -38,22 +38,12 @@
Please login with your username and password.</p>
<div tal:condition="context/is_view_ok">
- <p style="display:none" id="condensed" tal:condition="context/id">
- This is an <b tal:content="context/status"/>
- <b tal:content="context/type"/> issue<tal:block
- tal:condition="context/stage"> in stage
- <b tal:content="context/stage"/></tal:block><tal:block
- tal:condition="context/components"> applying to
- <b tal:content="context/components"/></tal:block><tal:block tal:condition="context/versions"> in
- <b tal:content="context/versions"/></tal:block>.
- <a href="javascript:unfold()">Unfold edit form</a>
- </p>
<form method="POST" name="itemSynopsis"
onSubmit="return submit_once()" enctype="multipart/form-data"
tal:attributes="action context/designator">
-<fieldset id="classification"><legend>classification</legend>
+<fieldset><legend>classification</legend>
<table class="form">
<tr>
<th class="required" i18n:translate="">
@@ -95,7 +85,7 @@
</fieldset>
<fieldset><legend>process</legend>
-<table class="form" id="processfields">
+<table class="form">
<tr tal:condition="context/id">
<th i18n:translate="">
<a href="http://docs.python.org/devguide/triaging.html#status"
@@ -185,8 +175,6 @@
</tr>
-</table>
-<table class="form">
<tr tal:condition="context/is_edit_ok">
<th>
<a href="http://docs.python.org/devguide/triaging.html#generating-special-links-in-a-comment"
@@ -197,6 +185,7 @@
name="@note" rows="10" cols="72"></textarea>
</td>
</tr>
+
<tr tal:condition="context/is_edit_ok">
<th><tal:block i18n:translate="">File</tal:block>:</th>
<td colspan="3">
@@ -358,6 +347,6 @@
</div>
-</div>
+</td>
</tal:block>
Modified: tracker/instances/python-dev/html/issue.item.js
==============================================================================
--- tracker/instances/python-dev/html/issue.item.js (original)
+++ tracker/instances/python-dev/html/issue.item.js Thu Mar 31 18:45:03 2011
@@ -1,11 +1,4 @@
window.onload = function () {
- var condensed = document.getElementById("condensed");
- if(condensed) {
- condensed.style.display = "block";
- document.getElementById("classification").style.display="none";
- document.getElementById("processfields").style.display="none";
- }
-
// create the input button and use it to replace the span/placeholder --
// users without javascript won't notice anything.
// This might eventually be replaced by jquery
@@ -48,10 +41,3 @@
nosy.style.display = 'inline';
nosy.style.width = new_width + "px";
}
-
-function unfold() {
- document.getElementById("condensed").style.display = "none";
- document.getElementById("classification").style.display = "block";
- document.getElementById("processfields").style.display = "block";
-
-}
More information about the Python-checkins
mailing list