view roundup/templates/classic/html/issue.item @ 1042:adcfdeac4e76

not sure how useful this is...
author Richard Jones <richard@users.sourceforge.net>
date Wed, 04 Sep 2002 04:47:28 +0000
parents 1198c6a8dcb2
children da609c7c2333
line wrap: on
line source

<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar-->
<form method="POST" onSubmit="return submit_once()"
      enctype="multipart/form-data">
<table border=0 cellspacing=0 cellpadding=2 class="form">
<tr>
 <th nowrap>Title</th>
 <td colspan=3 class="form-text" tal:content="structure python:issue.title.field(size=60)">title</td>
</tr>

<tr class="form">
 <th nowrap>Priority</th>
 <td class="form-text" tal:content="structure issue/priority/menu">priority</td>
 <th nowrap>Status</th>
 <td class="form-text" tal:content="structure issue/status/menu">status</td>
</tr>

<tr class="form">
 <th nowrap>Superseder</th>
 <td>
  <span tal:replace="structure python:issue.superseder.field(showid=1, size=20)" />
  <span tal:replace="structure python:db.issue.classhelp('id,title', label='list', width=500)" />
  <span tal:condition="issue/superseder">
   <br>View: <span tal:replace="structure python:issue.superseder.link(showid=1)" />
  </span>
 </td>
 <th nowrap>Nosy List</th>
 <td>
  <span tal:replace="structure issue/nosy/field" />
  <span tal:replace="structure python:db.user.classhelp('username,realname,address,phone', label='list', width=500)" />
 </td>
</tr>

<tr class="form">
 <th nowrap>Assigned To</th>
 <td class="form-text" tal:content="structure issue/assignedto/menu">
  assignedto menu
 </td>
 <td>&nbsp;</td>
 <td>&nbsp;</td>
</tr>

<tr class="form">
 <th nowrap>Change Note</th>
 <td colspan=3 class="form-text">
  <textarea name="__note" wrap="hard" rows="5" cols="60"></textarea>
 </td>
</tr>

<tr class="form">
 <th nowrap>File</th>
 <td colspan=3 class="form-text">
  <input type="file" name="__file" size="40">
 </td>
</tr>

<tr class="form">
 <td>&nbsp;</td>
 <td colspan=3 class="form-text" tal:content="structure issue/submit">
  submit button will go here
 </td>
</tr>
</table>

<span tal:condition="exists:item" tal:content="structure string:Created on <b>${issue/creation}</b> by <b>${issue/creator/username}</b>, last changed <b>${issue/activity}</b>.">activity info</span>

<tal:block tal:condition="exists:item">
 <table class="messages" tal:condition="issue/messages">
  <tr><th colspan=2 class="header">Messages</th></tr>
  <tal:block tal:repeat="msg issue/messages/reverse">
   <tr>
    <th tal:content="string:Author: ${msg/author}">author</th>
    <th tal:content="string:Date: ${msg/date}">date</th>
   </tr>
   <tr>
    <td colspan="2"><pre tal:content="msg/content">content</pre></td>
   </tr>
  </tal:block>
 </table>

 <table class="files" tal:condition="issue/files">
  <tr><th colspan="2" class="header">Files</th></tr>
  <tr><th>File name</th><th>Uploaded</th></tr>
  <tr tal:repeat="file issue/files">
   <td>
    <a tal:attributes="href string:file${file/id}/${file/name}"
       tal:content="file/name">dld link</a>
   </td>
   <td>
    <span tal:content="file/creator">creator's name</span>,
    <span tal:content="file/creation">creation date</span>
   </td>
  </tr>
 </table>

 <table class="history">
  <tr><th colspan="2" class="header">History</th></tr>
  <tr><td colspan="2" tal:content="structure issue/history">history</td></tr>
 </table>
</tal:block>

</form>

Roundup Issue Tracker: http://roundup-tracker.org/