View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021807 | mantisbt | ui | public | 2016-10-19 03:48 | 2017-09-03 18:41 |
Reporter | mcmo | Assigned To | community | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.0.0-beta.1 | ||||
Target Version | 2.6.0 | Fixed in Version | 2.6.0 | ||
Summary | 0021807: The required fields are not explicitly visible when updating, resolving or closing an issue | ||||
Description | The red asterisks are not displayed when updating, resolving or closing an issue. | ||||
Steps To Reproduce | create a custom field | ||||
Additional Information | I have checked the code and the <SPAN> elements that previously contained that asterisk are missing. | ||||
Tags | modern-ui | ||||
Attached Files | |||||
Can someone remove the 2nd attachment, please? |
|
Seems I removed the wrong one as I didn't notice that dregad did already remove another attachment. |
|
In 1.3.x branch, everything works fine as far as I can tell. I see the red * before required custom fields in bug report and update pages, as well as on change status pages. For the record, the <span class="required">*</span> is no longer needed, because we rely on CSS to display the asterisk [1] That being said, I confirm that this is broken in 2.0 (the .required:before class is gone). It also appears that in at least some cases (e.g. bug_report_page.php), the code reverts to using spans to display the asterisk. [1] https://github.com/mantisbt/mantisbt/blob/master-1.3.x/css/default.css#L536 |
|
If the "<span class="required">*</span>" is no longer needed, then I would suggest that you apply the CSS class also to the "normal" fields like "Summary" when reporting an issue. |
|
I changed /css/default.css by adding the missing lines, and that solved the issue when editing the issue. |
|
That works now when resolving or closing an issue after changing bug_change_status_page.php
thanks for your help EDIT (dregad): fixed markdown |
|
My 5 cents using info I've found in this ticket just added following lines to default.css on version 2.1.0 and Custom Fields have * when editing issue / from 1.3.7 / |
|
MantisBT: master 29cc2eb3 2017-04-29 17:29 Committer: vboctor Details Diff |
Fix required custom fields marker - Fix required custom fields marker on bug_change_status_page.php - Remove unused variables Fixes 0021807 |
Affected Issues 0021807 |
|
mod - bug_change_status_page.php | Diff File | ||
mod - bug_report_page.php | Diff File |