~ubuntu-branches/ubuntu/precise/trac/precise

« back to all changes in this revision

Viewing changes to trac/ticket/templates/milestone_edit.html

  • Committer: Bazaar Package Importer
  • Author(s): W. Martin Borgert
  • Date: 2009-09-15 21:43:38 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20090915214338-q3ecy6qxwxfzf9y8
Tags: 0.11.5-2
* Set exec bit for *_frontends (Closes: #510441), thanks to Torsten
  Landschoff for the patch.
* Move python-psycopg2 and python-mysql from Suggests to Depends as
  alternative to python-psqlite2 (Closes: #513117).
* Use debhelper 7 (Closes: #497862).
* Don't compress *-hook files and don't install MS-Windows *.cmd
  files (Closes: #526142), thanks to Jan Dittberner for the patch.
* Add README.source to point to dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
            <label>
62
62
              <input type="text" id="completeddate" name="completeddate"
63
63
                     size="${len(datetime_hint)}" title="Format: ${datetime_hint}"
64
 
                     value="${format_date(milestone.completed) or format_date}" />
 
64
                     value="${format_datetime(milestone.completed)}" />
65
65
              <em>Format: ${datetime_hint}</em>
66
66
            </label>
67
 
            <py:if test="milestones">
 
67
            <py:if test="milestone_groups">
68
68
              <br/>
69
69
              <input type="checkbox" id="retarget" name="retarget" checked="${not milestone.completed or None}" />
70
70
              <label for="retarget">Retarget associated open tickets to milestone:</label>
71
 
              <select id="target" name="target" py:with="t = req.args.get('target')">
 
71
              <select id="target" name="target">
72
72
                <option value="">None</option>
73
 
                <option py:for="m in milestones" selected="${m.name == t or None}">${m.name}</option>
 
73
                <optgroup py:for="(label, milestones) in milestone_groups"
 
74
                          py:if="milestones" label="${label}">
 
75
                  <option py:for="milestone in milestones"
 
76
                          py:content="milestone.name"></option>
 
77
                </optgroup>
74
78
              </select>
75
79
            </py:if>
76
80
          </div>