Closed Bug 323525 Opened 19 years ago Closed 19 years ago

Style the group table as all other tables in Bugzilla

Categories

(Bugzilla :: User Interface, defect)

2.21
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: pjdemarco, Assigned: cso)

References

Details

Attachments

(1 file, 2 obsolete files)

When pressing groups (editgroups.cgi) you get a table. This table does not have the same look as other tables in Bugzilla.
template/en/default/admin/groups/list.html.tmpl should use template/en/default/admin/table.html.tmpl.
Attached patch Patch v1 (obsolete) — Splinter Review
Patch v1
Assignee: myk → colin.ogilvie
Status: NEW → ASSIGNED
Attachment #209397 - Flags: review?(LpSolit)
Comment on attachment 209397 [details] [diff] [review] Patch v1 >+ {name => 'userregexp' >+ heading => 'User RegExp' >+ allow_html_content => 1 >+ } No, no html content is allowed here. It must be filtered. >+ {name => 'use_for' >+ heading => "Use For $terms.Bugs" >+ allow_html_content => 1 >+ } Same remark here. >+[% FOREACH group = groups %] >+ [% group.name = BLOCK %] >+ [% group.name FILTER html %] >+ [% END %] No need to filter fields here. table.html.tmpl does it for you already, unless allow_html_content is set. >+ [% group.userregexp = BLOCK %] >+ [% IF group.userregexp %] >+ [% group.userregexp FILTER html %] >+ [% ELSE %] >+ [% " " FILTER none %] >+ [% END %] >+ [% END %] Use 'overrides' for that. Read the INTERFACE of table.html.tmpl for more information. >+ [% group.use_for = BLOCK %] >+ [% IF (group.isactive != 0) && (group.isbuggroup) %] >+ X >+ [% ELSE %] >+   >+ [% END %] >+ [% END %] Same remark here. >+ [% group.type = BLOCK %] >+ [% (group.isbuggroup) ? "user" : "system" %] >+ [% END %] And here.
Attachment #209397 - Flags: review?(LpSolit) → review-
(In reply to comment #3) > (From update of attachment 209397 [details] [diff] [review] [edit]) > > >+ {name => 'userregexp' > >+ heading => 'User RegExp' > >+ allow_html_content => 1 > >+ } > > No, no html content is allowed here. It must be filtered. The only way to get   to appear (as far as I could see) was to allow_html_content. > Use 'overrides' for that. Read the INTERFACE of table.html.tmpl > for more information. I've read the INTERFACE, and I've looked at the example, and I'm completely baffled as to how it works.
Attached patch Patch v2. (obsolete) — Splinter Review
I think I finally got the hang of interfaces...
Attachment #209397 - Attachment is obsolete: true
Attachment #215585 - Flags: review?(LpSolit)
Attached patch Patch v2.Splinter Review
I think I finally got the hang of interfaces...
Attachment #215586 - Flags: review?(LpSolit)
Attachment #215585 - Attachment is obsolete: true
Attachment #215585 - Flags: review?(LpSolit)
Comment on attachment 215586 [details] [diff] [review] Patch v2. >+ {name => 'use_for' >+ heading => "Use For $terms.Bugs" >+ } >+ {name => 'type' >+ heading => 'Type' >+ } Please add: align => 'center' for both of them. This can be fixed on checkin. r=LpSolit
Attachment #215586 - Flags: review?(LpSolit) → review+
Flags: approval?
Flags: approval? → approval+
Checking in template/en/default/admin/groups/list.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/groups/list.html.tmpl,v <-- list.html.tmpl new revision: 1.5; previous revision: 1.4 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
We need it on 2.22 to check in bug 324784.
Flags: approval2.22?
reopening just to make sure it doesn't get lost since we still have pending checkin
Status: RESOLVED → REOPENED
Flags: approval2.22? → approval2.22+
Resolution: FIXED → ---
2.22: Checking in template/en/default/admin/groups/list.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/groups/list.html.tmpl,v <-- list.html.tmpl new revision: 1.4.2.1; previous revision: 1.4 done
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Target Milestone: Bugzilla 2.24 → Bugzilla 2.22
Blocks: 357374
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: