New submission from Brett C. <br...@python.org>:
The attached patch updates the tracker to use the devguide. The biggest change
is that all of the text labeling the various parts of an issue now link to
their relevant explanation in the devguide's triage guide. I also updated the
core dev link and changed the tracker doc link to point to tracker development
instead (since the labels now link to the relevant details I figured linking to
the overall doc was no longer needed).
If someone can look over the patch to make sure I didn't screw anything up (new
to TAL don't have MySQL or Postgres installed to check locally) I will then
check in the change.
----------
files: devguide.diff
messages: 1915
nosy: brett.cannon
priority: feature
status: unread
title: Patch to have parts of UI link to the devguide
_______________________________________________________
PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue377>
_______________________________________________________
Index: instances/python-dev/html/page.html
===================================================================
--- instances/python-dev/html/page.html (revision 88422)
+++ instances/python-dev/html/page.html (working copy)
@@ -74,7 +74,7 @@
<li><a href="http://python.org/community" title="">Community</a></li>
<li><a href="http://python.org/psf" title="Python Software
Foundation">PSF</a></li>
<li><a href="http://python.org/links" title="">Links</a></li>
- <li><a href="http://python.org/dev" title="Python Core Language
Development">Core Development</a></li>
+ <li><a href="http://docs.python.org/devguide/" title="Python Core Language
Development">Core Development</a></li>
<li class="selected"><a href="." class="selected" title="Python Issue
Tracker">Issue Tracker</a>
<ul class="level-two">
<li tal:condition="python:request.user.hasPermission('View', 'issue')">
@@ -242,7 +242,8 @@
<li>
<strong i18n:translate="">Help</strong>
<ul class="level-three">
- <li><a href="http://wiki.python.org/moin/TrackerDocs/"
i18n:translate="">Tracker Documentation</a></li>
+ <li><a href="http://wiki.python.org/moin/TrackerDevelopment"
+ i18n:translate="">Tracker Development</a></li>
<li><a href="http://psf.upfronthosting.co.za/roundup/meta">Report
Tracker Problem</a></li>
</ul>
</li>
Index: instances/python-dev/html/issue.item.html
===================================================================
--- instances/python-dev/html/issue.item.html (revision 88422)
+++ instances/python-dev/html/issue.item.html (working copy)
@@ -46,7 +46,9 @@
<fieldset><legend>classification</legend>
<table class="form">
<tr>
- <th class="required" i18n:translate="">Title:</th>
+ <th class="required" i18n:translate="">
+ <a href="http://docs.python.org/devguide/triaging.html#title"
+ target="_blank" i18n:translate="">Title</a>:</th>
<td colspan="3" tal:condition="context/title/is_edit_ok"
tal:content="structure python:context.title.field(size=60)">title</td>
<td colspan="3" tal:condition="not:context/title/is_edit_ok">
@@ -57,22 +59,25 @@
<tr>
<th class="required" i18n:translate="">
- <span tal:replace="structure
python:db.issue_type.classhelp('id,name,description',label='Type')" />:
- </th>
+ <a href="http://docs.python.org/devguide/triaging.html#type"
+ target="_blank" i18n:translate="">Type</a>:</th>
<td tal:content="structure context/type/menu">type</td>
<th i18n:translate="">
- <span tal:replace="structure
python:db.stage.classhelp('id,name,description',label='Stage')" />:
+ <a href="http://docs.python.org/devguide/triaging.html#stage"
+ target="_blank" i18n:translate="">Stage</a>:
</th>
- <td tal:content="structure context/stage/menu">components</td>
+ <td tal:content="structure context/stage/menu">stage</td>
</tr>
<tr>
<th i18n:translate="">
- <span tal:replace="structure
python:db.component.classhelp('id,name,description',label='Components')" />:
+ <a href="http://docs.python.org/devguide/triaging.html#components"
+ target="_blank" i18n:translate="">Components</a>:
</th>
<td tal:content="structure context/components/menu">components</td>
<th i18n:translate="">
- <span tal:replace="structure
python:db.version.classhelp('id,name,description',label='Versions')" />:
+ <a href="http://docs.python.org/devguide/triaging.html#versions"
+ target="_blank"i18n:translate="">Versions</a>:
</th>
<td tal:content="structure context/versions/menu">versions</td>
</tr>
@@ -83,7 +88,8 @@
<table class="form">
<tr tal:condition="context/id">
<th i18n:translate="">
- <span tal:replace="structure
python:db.status.classhelp('id,name,description',label='Status')" />:
+ <a href="http://docs.python.org/devguide/triaging.html#status"
+ target="_blank" i18n:translate="">Status</a>:
</th>
<td tal:content="structure context/status/menu">status</td>
<th i18n:translate="">Resolution:</th>
@@ -92,9 +98,8 @@
<tr tal:condition="context/id">
<th>
- <tal:block i18n:translate="">Dependencies</tal:block>:
- <!-- <span tal:condition="context/dependencies/is_edit_ok"
- tal:replace="structure python:db.issue.classhelp('id,title,status',
filter='status=0,1', property='dependencies')" /> -->
+ <a href="http://docs.python.org/devguide/triaging.html#dependencies"
+ target="_blank" i18n:translate="">Dependencies</a>:
</th>
<td>
<span tal:replace="structure
python:context.dependencies.field(showid=1,size=20)" />
@@ -103,9 +108,8 @@
</span>
</td>
<th i18n:translate="">
- <tal:block i18n:translate="">Superseder</tal:block>:
- <!-- <span tal:condition="context/superseder/is_edit_ok"
- tal:replace="structure python:db.issue.classhelp('id,title',
filter='status=0,1', property='superseder')" /> -->
+ <a href="http://docs.python.org/devguide/triaging.html#superseder"
+ target="_blank" i18n:translate="">Superseder</a>:
</th>
<td>
<span tal:replace="structure python:context.superseder.field(showid=1,
size=20)" />
@@ -121,7 +125,10 @@
</td>
</tr>
<tr>
- <th><tal:block i18n:translate="">Assigned To</tal:block>:</th>
+ <th>
+ <a href="http://docs.python.org/devguide/triaging.html#assigned-to"
+ target="_blank" i18n:translate="">Assigned To</a>:
+ </th>
<td tal:condition="context/assignee/is_edit_ok">
<select name="assignee">
<option value="-1">nobody</option>
@@ -135,7 +142,10 @@
<td tal:condition="not:context/assignee/is_edit_ok">
<span tal:replace="structure context/assignee/plain" />
</td>
- <th><tal:block i18n:translate="">Nosy List</tal:block><!-- <span
tal:condition="context/nosy_count" tal:replace="python: ' (%d)' %
context.nosy_count" /> -->:
+ <th>
+ <a href="http://docs.python.org/devguide/triaging.html#nosy-list"
+ target="_blank" i18n:translate="">Nosy List</a>
+ <!-- <span tal:condition="context/nosy_count" tal:replace="python: '
(%d)' % context.nosy_count" /> -->:
<span tal:condition="context/nosy/is_edit_ok"
tal:replace="structure
python:db.user.classhelp('username,realname,address', property='nosy')" />
</th>
@@ -150,7 +160,8 @@
</tr>
<tr>
<th>
- <span tal:replace="structure
python:db.priority.classhelp('id,name,description',label='Priority')" />:
+ <a href="http://docs.python.org/devguide/triaging.html#priority"
+ target="_blank" i18n:translate="">Priority</a>:
</th>
<td tal:content="structure context/priority/menu">priority</td>
<th tal:content="structure
python:db.keyword.classhelp('id,name,description',label='Keywords:')" />
@@ -159,7 +170,10 @@
</tr>
<tr tal:condition="context/is_edit_ok">
- <th><tal:block i18n:translate="">Comment</tal:block>:</th>
+ <th>
+ <a
href="http://docs.python.org/devguide/triaging.html#generating-special-links-in-a-comment"
+ target="_blank" i18n:translate="">Comment</a>:
+ </th>
<td colspan="3">
<textarea tal:content="request/form/@note/value | default"
name="@note" rows="10" cols="72"></textarea>
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
http://mail.python.org/mailman/listinfo/tracker-discuss