[Python-checkins] r52913 - in tracker/instances/python-dev: html/issue.item.html html/issue.search.html initial_data.py schema.py
stefan.seefeld
python-checkins at python.org
Mon Dec 4 01:49:40 CET 2006
Author: stefan.seefeld
Date: Mon Dec 4 01:49:40 2006
New Revision: 52913
Modified:
tracker/instances/python-dev/html/issue.item.html
tracker/instances/python-dev/html/issue.search.html
tracker/instances/python-dev/initial_data.py
tracker/instances/python-dev/schema.py
Log:
Remove 'platform' property.
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 Mon Dec 4 01:49:40 2006
@@ -42,9 +42,9 @@
<table class="form">
<tr>
<th class="required" i18n:translate="">Title:</th>
- <td colspan="5" tal:condition="context/title/is_edit_ok"
+ <td colspan="3" tal:condition="context/title/is_edit_ok"
tal:content="structure python:context.title.field(size=60)">title</td>
- <td colspan="5" tal:condition="not:context/title/is_edit_ok">
+ <td colspan="3" tal:condition="not:context/title/is_edit_ok">
<span tal:content="structure context/title/plain"/>
<!-- <input type="hidden" name="title" tal:attributes="value context/title">-->
</td>
@@ -59,7 +59,6 @@
<span tal:replace="structure python:db.severity.classhelp('id,name,description',label='Severity')" />:
</th>
<td tal:content="structure context/severity/menu">severity</td>
- <th></th><td></td>
</tr>
<tr>
@@ -71,10 +70,6 @@
<span tal:replace="structure python:db.version.classhelp('id,name,description',label='Versions')" />:
</th>
<td tal:content="structure context/versions/menu">versions</td>
- <th i18n:translate="">
- <span tal:replace="structure python:db.platform.classhelp('id,name,description',label='Platforms')" />:
- </th>
- <td tal:content="structure context/platforms/menu">platform</td>
</tr>
</table>
</fieldset>
Modified: tracker/instances/python-dev/html/issue.search.html
==============================================================================
--- tracker/instances/python-dev/html/issue.search.html (original)
+++ tracker/instances/python-dev/html/issue.search.html Mon Dec 4 01:49:40 2006
@@ -128,19 +128,6 @@
<td metal:use-macro="group_input"></td>
</tr>
-<tr tal:define="name string:platform;
- db_klass string:platform;
- db_content string:name;">
- <th i18n:translate="">Platforms:</th>
- <td metal:use-macro="search_select_translated">
- <option metal:fill-slot="extra_options" value="-1" i18n:translate=""
- tal:attributes="selected python:value == '-1'">not selected</option>
- </td>
- <td metal:use-macro="column_input"></td>
- <td metal:use-macro="sort_input"></td>
- <td metal:use-macro="group_input"></td>
-</tr>
-
<tr tal:define="name string:version;
db_klass string:version;
db_content string:name;">
Modified: tracker/instances/python-dev/initial_data.py
==============================================================================
--- tracker/instances/python-dev/initial_data.py (original)
+++ tracker/instances/python-dev/initial_data.py Mon Dec 4 01:49:40 2006
@@ -17,11 +17,6 @@
component.create(name='distutils', order='2')
component.create(name='stdlib', order='3')
-platform = db.getclass('platform')
-platform.create(name='GNU/Linux', order='1')
-platform.create(name='Solaris', order='2')
-platform.create(name='WinXP', order='3')
-
version = db.getclass('version')
version.create(name='2.5', order='1')
version.create(name='3k', order='2')
Modified: tracker/instances/python-dev/schema.py
==============================================================================
--- tracker/instances/python-dev/schema.py (original)
+++ tracker/instances/python-dev/schema.py Mon Dec 4 01:49:40 2006
@@ -23,13 +23,6 @@
order=Number())
component.setkey('name')
-# Platform
-platform = Class(db, 'platform',
- name=String(),
- description=String(),
- order=Number())
-platform.setkey('name')
-
# Version
version = Class(db, 'version',
name=String(),
More information about the Python-checkins
mailing list