Closed
Bug 266143
Opened 20 years ago
Closed 19 years ago
If Param("usevotes") is off, editing a product should mention it
Categories
(Bugzilla :: User Interface, defect)
Bugzilla
User Interface
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: wagner, Assigned: bugzilla)
References
Details
Attachments
(1 file, 1 obsolete file)
3.18 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7) Gecko/20040803 Firefox/0.9.3
I turned voting off on our Bugzilla installation (usevotes off). However, the
pages to create or edit new products still show the votes elements and waste
screen space.
I think that some "if (Param('usevotes'))" in editproducts.cgi could correct this.
Reproducible: Always
Steps to Reproduce:
1. Turn off usevotes
2. Open the products list and edit a product
Actual Results:
The "Select product" page as well as the "Edit product" page still show voting
elements.
Expected Results:
Do not display the voting elements.
Comment 1•20 years ago
|
||
I think it's fine having these columns shown even if you don't need them. This
way, you can configure vote properties while votes are off, and turn them on
only when the configuration you want is done.
Updated•19 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Comment 2•19 years ago
|
||
Suggest WONTFIX as per comment 1.
I'd be more concerned if this was a user-facing page, but since it isn't this
doesn't seem as bad.
Comment 3•19 years ago
|
||
I dunnow, I think those elements could be confusing, if you didn't enable
voting. It's up to Myk whether or not we want to do it.
Severity: normal → minor
OS: Linux → All
Hardware: PC → All
Comment 4•19 years ago
|
||
We shouldn't eliminate vote configuration UI completely. As Frederic notes,
it's useful to be able to configure voting per-product before enabling the
feature, and it also makes the feature more discoverable.
But it would be useful to indicate that voting is disabled, and in certain
designs of these pages it might also be possible to collapse the vote
configuration fields into a single header that takes up little space but expands
when clicked upon to show the fields available.
Attachment #194758 -
Flags: review?
Comment 6•19 years ago
|
||
Comment on attachment 194758 [details] [diff] [review]
Indicate that voting is disabled on editproducts
>Index: template/en/default/admin/products/edit.html.tmpl
> [% PROCESS global/header.html.tmpl
> title = title
>+ style_urls = ['skins/standard/admin.css']
> %]
template/en/default/admin/products/create.html.tmpl needs this CSS too. This can be fixed on checkin (or even better: update your patch and carry forward my r+). r=LpSolit
Attachment #194758 -
Flags: review? → review+
Updated•19 years ago
|
Assignee: myk → bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: approval?
Target Milestone: --- → Bugzilla 2.22
Updated•19 years ago
|
Flags: approval? → approval+
Comment 7•19 years ago
|
||
updated patch with create.html.tmpl added.
Attachment #194758 -
Attachment is obsolete: true
Attachment #200887 -
Flags: review+
Comment 8•19 years ago
|
||
Checking in skins/standard/admin.css;
/cvsroot/mozilla/webtools/bugzilla/skins/standard/admin.css,v <-- admin.css
new revision: 1.3; previous revision: 1.2
done
Checking in template/en/default/admin/products/create.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/products/create.html.tmpl,v <-- create.html.tmpl
new revision: 1.3; previous revision: 1.2
done
Checking in template/en/default/admin/products/edit-common.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/products/edit-common.html.tmpl,v <-- edit-common.html.tmpl
new revision: 1.3; previous revision: 1.2
done
Checking in template/en/default/admin/products/edit.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/products/edit.html.tmpl,v <-- edit.html.tmpl
new revision: 1.5; previous revision: 1.4
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Summary: if "usevotes" is off, product pages should not show votes elements → If Param("usevotes") is off, editing a product should mention it
You need to log in
before you can comment on or make changes to this bug.
Description
•