From 199d6ed76f022232c3799036c75661604a6d70d4 Mon Sep 17 00:00:00 2001
From: "myk%mozilla.org" <>
Date: Fri, 6 Jan 2006 22:22:55 +0000
Subject: Bug 287325: an initial implementation of custom fields, including the
ability to add text custom fields via the command-line script customfield.pl,
search them via the boolean charts, display and edit them on the show bug
page, and see changes to them in bug activity; r=mkanat, glob
---
template/en/default/bug/edit.html.tmpl | 9 +++++++++
template/en/default/bug/field.html.tmpl | 36 +++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 template/en/default/bug/field.html.tmpl
(limited to 'template/en/default/bug')
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 2252528ac..9768dd3b4 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -497,6 +497,15 @@
[% END %]
+[%# *** Custom Fields *** %]
+
+[% USE Bugzilla %]
+
+ [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %]
+ [% PROCESS bug/field.html.tmpl value=bug.${field.name} %]
+ [% END %]
+
+
[%# *** Attachments *** %]
[% PROCESS attachment/list.html.tmpl
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
new file mode 100644
index 000000000..cbde9cf27
--- /dev/null
+++ b/template/en/default/bug/field.html.tmpl
@@ -0,0 +1,36 @@
+[%# 1.0@bugzilla.org %]
+[%# 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
+ #%]
+
+