OLD | NEW |
(Empty) | |
| 1 [# Display all the form fields needed to edit an issue template. |
| 2 Values are copied to and from these editor fields into per-template hidden fi
elds by JS code.] |
| 3 |
| 4 <table cellspacing="0" cellpadding="3" class="rowmajor vt"> |
| 5 <tr> |
| 6 <th>Members only:</th> |
| 7 <td> |
| 8 <input type="checkbox" id="members_only_checkbox" class="saveTemplate"> |
| 9 <label for="members_only_checkbox">Only offer this template to project mem
bers</label> |
| 10 </td> |
| 11 </tr> |
| 12 |
| 13 <tr> |
| 14 <th>Summary:</th> |
| 15 <td> |
| 16 <input type="text" id="summary_editor" size="60" class="saveTemplate acob"
value=""><br> |
| 17 <input type="checkbox" id="summary_must_be_edited_checkbox" class="saveTem
plate"> |
| 18 <label for="summary_must_be_edited_checkbox">Users must edit issue summary
before submitting</label> |
| 19 </td> |
| 20 </tr> |
| 21 |
| 22 <tr> |
| 23 <th>Description:</th> |
| 24 <td> |
| 25 <textarea id="content_editor" rows="12" cols="75" class="undef" class="sa
veTemplate"></textarea> |
| 26 [# Note: wrap="hard" has no effect on content_editor because we copy to a
hidden field before submission.] |
| 27 </td> |
| 28 </tr> |
| 29 |
| 30 <tr> |
| 31 <th>Status:</th> |
| 32 <td> |
| 33 <input type="text" id="status_editor" size="12" class="saveTemplate acob"
value="" |
| 34 autocomplete="off"> |
| 35 </td> |
| 36 </tr> |
| 37 |
| 38 <tr> |
| 39 <th>Owner:</th> |
| 40 <td> |
| 41 <input type="text" id="owner_editor" size="25" class="saveTemplate acob"
value="" |
| 42 autocomplete="off"> |
| 43 <span id="owner_defaults_to_member_area"> |
| 44 <input type="checkbox" id="owner_defaults_to_member_checkbox" class="sav
eTemplate" style="margin-left:2em"> |
| 45 <label for="owner_defaults_to_member_checkbox">Default to member who is
entering the issue</label> |
| 46 </span> |
| 47 </td> |
| 48 </tr> |
| 49 |
| 50 <tr> |
| 51 <th>Components:</th> |
| 52 <td> |
| 53 <input type="text" id="components_editor" size="75" class="saveTemplate a
cob" value="" |
| 54 autocomplete="off"> |
| 55 <br/> |
| 56 <span id="component_required_area"> |
| 57 <input type="checkbox" id="component_required_checkbox" class="saveTempl
ate"> |
| 58 <label for="component_required_checkbox">Require at least one component<
/label> |
| 59 </span> |
| 60 </td> |
| 61 </tr> |
| 62 |
| 63 [for fields] |
| 64 [# TODO(jrobbins): determine applicability dynamically and update fields in
JS] |
| 65 <tr> |
| 66 <th>[fields.field_name]:</th> |
| 67 <td colspan="2"> |
| 68 [include "field-value-widgets.ezt" False] |
| 69 </td> |
| 70 <tr> |
| 71 [end] |
| 72 |
| 73 <tr> |
| 74 <th>Labels:</th> |
| 75 <td> |
| 76 [include "label-fields.ezt" "all"] |
| 77 </td> |
| 78 </tr> |
| 79 |
| 80 <tr> |
| 81 <th>Template admins:</th> |
| 82 <td> |
| 83 <input type="text" id="admin_names_editor" size="75" class="saveTemplate
acob" value="" |
| 84 autocomplete="off"> |
| 85 </td> |
| 86 </tr> |
| 87 |
| 88 </table> |
OLD | NEW |