Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame^] | 1 | [define category_css]css/ph_detail.css[end] |
| 2 | [include "../framework/header.ezt" "showtabs"] |
| 3 | |
| 4 | [if-any read_only][include "../framework/read-only-rejection.ezt"] |
| 5 | [else] |
| 6 | |
| 7 | <form action="adminStatuses.do" id="adminStatuses" method="POST"> |
| 8 | <input type="hidden" name="token" value="[form_token]"> |
| 9 | |
| 10 | [if-any perms.EditProject] |
| 11 | <table class="vt"> |
| 12 | <tr><td> |
| 13 | <h4>Open Issue Status Values</h4> |
| 14 | <div class="section"> |
| 15 | <textarea name="predefinedopen" rows="6" cols="75" style="tab-size:18">[open_text]</textarea> |
| 16 | [if-any errors.open_statuses] |
| 17 | <div class="fielderror">[errors.open_statuses]</div> |
| 18 | [end] |
| 19 | </div> |
| 20 | <h4>Closed Issue Status Values</h4> |
| 21 | <div class="section"> |
| 22 | <textarea name="predefinedclosed" rows="6" cols="75" style="tab-size:18">[closed_text]</textarea><br><br> |
| 23 | [if-any errors.closed_statuses] |
| 24 | <div class="fielderror">[errors.closed_statuses]</div> |
| 25 | [end] |
| 26 | |
| 27 | If an issue's status is being set to one of these values, offer to merge issues:<br> |
| 28 | <input type="text" size="75" name="statuses_offer_merge" |
| 29 | value="[for config.statuses_offer_merge][config.statuses_offer_merge][if-index config.statuses_offer_merge last][else], [end][end]"> |
| 30 | </div> |
| 31 | </td> |
| 32 | <td style="padding-left:.7em"> |
| 33 | <div class="tip"> |
| 34 | <b>Instructions:</b><br> List one status value per line in desired sort-order.<br><br> |
| 35 | Optionally, use an equals-sign to document the meaning of each status value. |
| 36 | </div> |
| 37 | </td> |
| 38 | </tr> |
| 39 | </table> |
| 40 | [else] |
| 41 | <h4>Open Issue Status Values</h4> |
| 42 | <div class="section"> |
| 43 | <table cellspacing="0" cellpadding="2" border="0" class="results striped" width="100%"> |
| 44 | <tr> |
| 45 | <th style="min-width:14em">Status</th> |
| 46 | <th width="100%">Meaning</th> |
| 47 | </tr> |
| 48 | [for config.open_statuses] |
| 49 | <tr> |
| 50 | <td style="white-space:nowrap; padding-right:2em;">[config.open_statuses.name]</td> |
| 51 | <td>[config.open_statuses.docstring]</td> |
| 52 | </tr> |
| 53 | [end] |
| 54 | </table> |
| 55 | </div> |
| 56 | |
| 57 | <h4>Closed Issue Status Values</h4> |
| 58 | <div class="section"> |
| 59 | <table cellspacing="0" cellpadding="2" border="0" class="results striped" width="100%"> |
| 60 | <tr> |
| 61 | <th style="min-width:14em">Status</th> |
| 62 | <th width="100%">Meaning</th> |
| 63 | </tr> |
| 64 | [for config.closed_statuses] |
| 65 | <tr> |
| 66 | <td style="white-space:nowrap; padding-right:2em;">[config.closed_statuses.name]</td> |
| 67 | <td>[config.closed_statuses.docstring]</td> |
| 68 | </tr> |
| 69 | [end] |
| 70 | </table> |
| 71 | </div> |
| 72 | [end] |
| 73 | |
| 74 | |
| 75 | [if-any perms.EditProject] |
| 76 | <input type="submit" id="savechanges" name="btn" value="Save changes" class="submit"> |
| 77 | [end] |
| 78 | </form> |
| 79 | |
| 80 | [end] |
| 81 | |
| 82 | [include "../framework/footer.ezt"] |