|
82 | 82 |
|
83 | 83 | $f_category_id = $t_bug->category_id;
|
84 | 84 | $f_reproducibility = $t_bug->reproducibility;
|
| 85 | + $f_eta = $t_bug->eta; |
85 | 86 | $f_severity = $t_bug->severity;
|
86 | 87 | $f_priority = $t_bug->priority;
|
87 | 88 | $f_summary = $t_bug->summary;
|
|
106 | 107 |
|
107 | 108 | $f_category_id = gpc_get_int( 'category_id', 0 );
|
108 | 109 | $f_reproducibility = gpc_get_int( 'reproducibility', config_get( 'default_bug_reproducibility' ) );
|
| 110 | + $f_eta = gpc_get_int( 'eta', config_get( 'default_bug_eta' ) ); |
109 | 111 | $f_severity = gpc_get_int( 'severity', config_get( 'default_bug_severity' ) );
|
110 | 112 | $f_priority = gpc_get_int( 'priority', config_get( 'default_bug_priority' ) );
|
111 | 113 | $f_summary = gpc_get_string( 'summary', '' );
|
|
133 | 135 |
|
134 | 136 | $tpl_show_category = in_array( 'category_id', $t_fields );
|
135 | 137 | $tpl_show_reproducibility = in_array( 'reproducibility', $t_fields );
|
| 138 | + $tpl_show_eta = in_array( 'eta', $t_fields ); |
136 | 139 | $tpl_show_severity = in_array( 'severity', $t_fields );
|
137 | 140 | $tpl_show_priority = in_array( 'priority', $t_fields );
|
138 | 141 | $tpl_show_steps_to_reproduce = in_array( 'steps_to_reproduce', $t_fields );
|
|
207 | 210 | </tr>
|
208 | 211 | <?php
|
209 | 212 | }
|
| 213 | + |
| 214 | + if ( $tpl_show_eta ) { |
| 215 | +?> |
210 | 216 |
|
| 217 | + <tr <?php echo helper_alternate_class() ?>> |
| 218 | + <td class="category"> |
| 219 | + <label for="eta"><?php print_documentation_link( 'eta' ) ?></label> |
| 220 | + </td> |
| 221 | + <td> |
| 222 | + <select <?php echo helper_get_tab_index() ?> id="eta" name="eta"> |
| 223 | + <?php print_enum_string_option_list( 'eta', $f_eta ) ?> |
| 224 | + </select> |
| 225 | + </td> |
| 226 | + </tr> |
| 227 | +<?php |
| 228 | + } |
| 229 | + |
211 | 230 | if ( $tpl_show_severity ) {
|
212 | 231 | ?>
|
213 | 232 | <tr <?php echo helper_alternate_class() ?>>
|
|
0 commit comments