View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028557 | mantisbt | administration | public | 2021-05-16 05:54 | 2023-10-31 16:32 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
Summary | 0028557: Inconsistent use of hyperlink instead of button to edit Custom Fields in Edit Project page | ||||
Description | Issue 0020078 added a hyperlink on Custom Fields' names, allowing user to edit custom fields (manage_custom_field_edit_page.php). This is not consistent with the other sections of the Edit Project page, which use an Edit button in the table's Action column for this functionality. | ||||
Tags | No tags attached. | ||||
It's worth noting that this Edit action was present in the initial implementation (see MantisBT master 81ad05d4) but was later removed by commit MantisBT master 2425c50c (possibly unintentionally). |
|
When editing a custom field starting from manage_proj_edit_page.php, manage_custom_field_edit_page.php does not return back to it after update; It goes to manage_custom_field_page.php instead, which can be confusing to users. The functionality to provide a custom return page exists (return parameter), so we should make use of it. |
|
MantisBT: master 1f11dd3f 2021-05-16 05:58 Details Diff |
Button to edit custom fields in manage project page The use of a hyperlink to edit Custom Fields is not consistent with the other sections on the page (subprojects, versions). This commit removes the hyperlink on the Custom Field's name, and adds a new 'Edit' button in the Actions column instead. We also modify the existing print_form_button() call that removes custom field association, to use the function's $p_args_to_post parameter instead of building a GET URL. Fixes 0028557 |
Affected Issues 0028557 |
|
mod - manage_proj_edit_page.php | Diff File |