|
126 | 126 |
|
127 | 127 | $f_category_id = $t_bug->category_id;
|
128 | 128 | $f_reproducibility = $t_bug->reproducibility;
|
| 129 | + $f_eta = $t_bug->eta; |
129 | 130 | $f_severity = $t_bug->severity;
|
130 | 131 | $f_priority = $t_bug->priority;
|
131 | 132 | $f_summary = $t_bug->summary;
|
|
150 | 151 |
|
151 | 152 | $f_category_id = gpc_get_int( 'category_id', 0 );
|
152 | 153 | $f_reproducibility = gpc_get_int( 'reproducibility', config_get( 'default_bug_reproducibility' ) );
|
| 154 | + $f_eta = gpc_get_int( 'eta', config_get( 'default_bug_eta' ) ); |
153 | 155 | $f_severity = gpc_get_int( 'severity', config_get( 'default_bug_severity' ) );
|
154 | 156 | $f_priority = gpc_get_int( 'priority', config_get( 'default_bug_priority' ) );
|
155 | 157 | $f_summary = gpc_get_string( 'summary', '' );
|
|
177 | 179 |
|
178 | 180 | $tpl_show_category = in_array( 'category_id', $t_fields );
|
179 | 181 | $tpl_show_reproducibility = in_array( 'reproducibility', $t_fields );
|
| 182 | +$tpl_show_eta = in_array( 'eta', $t_fields ); |
180 | 183 | $tpl_show_severity = in_array( 'severity', $t_fields );
|
181 | 184 | $tpl_show_priority = in_array( 'priority', $t_fields );
|
182 | 185 | $tpl_show_steps_to_reproduce = in_array( 'steps_to_reproduce', $t_fields );
|
|
264 | 267 | <?php
|
265 | 268 | }
|
266 | 269 |
|
| 270 | + if ( $tpl_show_eta ) { |
| 271 | +?> |
| 272 | + |
| 273 | + <tr <?php echo helper_alternate_class() ?>> |
| 274 | + <th class="category"> |
| 275 | + <label for="eta"><?php print_documentation_link( 'eta' ) ?></label> |
| 276 | + </th> |
| 277 | + <td> |
| 278 | + <select <?php echo helper_get_tab_index() ?> id="eta" name="eta"> |
| 279 | + <?php print_enum_string_option_list( 'eta', $f_eta ) ?> |
| 280 | + </select> |
| 281 | + </td> |
| 282 | + </tr> |
| 283 | +<?php |
| 284 | + } |
| 285 | + |
267 | 286 | if ( $tpl_show_severity ) {
|
268 | 287 | ?>
|
269 | 288 | <tr <?php echo helper_alternate_class() ?>>
|
|
0 commit comments