diff options
author | myk%mozilla.org <> | 2002-09-29 03:42:23 +0200 |
---|---|---|
committer | myk%mozilla.org <> | 2002-09-29 03:42:23 +0200 |
commit | 91b171e7584920d03abb9c45e779c84f3dee975c (patch) | |
tree | fc59becfe02d1a4dc84e5f3501f0139effcf1c7a /template/en/default/flag | |
parent | 90975fe914d066726d06f53abe8696399b13a61a (diff) | |
download | bugzilla-91b171e7584920d03abb9c45e779c84f3dee975c.tar.gz bugzilla-91b171e7584920d03abb9c45e779c84f3dee975c.tar.xz |
Fix for bug 98801: Implementation of the request tracker, a set of enhancements to attachment statuses.
r=gerv,bbaetz
Diffstat (limited to 'template/en/default/flag')
-rw-r--r-- | template/en/default/flag/list.html.tmpl | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl new file mode 100644 index 000000000..951f248db --- /dev/null +++ b/template/en/default/flag/list.html.tmpl @@ -0,0 +1,94 @@ +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Myk Melez <myk@mozilla.org> + #%] + +<table id="flags"> + + [% FOREACH type = flag_types %] + [% FOREACH flag = type.flags %] + <tr> + <td> + [% flag.setter.nick FILTER html %]: + </td> + <td> + [% type.name FILTER html %] + </td> + <td> + <select name="flag-[% flag.id %]"> + <option value="X"></option> + <option value="+" [% "selected" IF flag.status == "+" %]>+</option> + <option value="-" [% "selected" IF flag.status == "-" %]>-</option> + <option value="?" [% "selected" IF flag.status == "?" %]>?</option> + </select> + </td> + <td> + [% IF flag.status == "?" && flag.requestee %]([% flag.requestee.nick FILTER html %])[% END %] + </td> + </tr> + [% END %] + [% IF !type.flags || type.flags.size == 0 %] + <tr> + <td> </td> + <td>[% type.name %]</td> + <td> + <select name="flag_type-[% type.id %]"> + <option value="X"></option> + <option value="+">+</option> + <option value="-">-</option> + [% IF type.is_requestable %] + <option value="?">?</option> + [% END %] + </select> + </td> + <td> + [% IF type.is_requestable && type.is_requesteeble %] + (<input type="text" name="requestee-[% type.id %]" size="8" maxlength="255">) + [% END %] + </td> + </tr> + [% END %] + [% END %] + + [% FOREACH type = flag_types %] + [% NEXT UNLESS type.flags.size > 0 && type.is_multiplicable %] + [% IF !separator_displayed %] + <tr><td colspan="3"><hr></td></tr> + [% separator_displayed = 1 %] + [% END %] + <tr> + <td colspan="2">addl. [% type.name %]</td> + <td> + <select name="flag_type-[% type.id %]"> + <option value="X"></option> + <option value="+">+</option> + <option value="-">-</option> + [% IF type.is_requestable %] + <option value="?">?</option> + [% END %] + </select> + </td> + <td> + [% IF type.is_requestable && type.is_requesteeble %] + (<input type="text" name="requestee-[% type.id %]" size="8" maxlength="255">) + [% END %] + </td> + </tr> + [% END %] + +</table> |