From afe02a6edbc84062347813aba15f80623472f7a9 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Fri, 21 Nov 2003 18:00:51 +0000 Subject: Bug 225703: Partial templatization for editkeywords.cgi; r=jouni; r=gerv; a=justdave. --- .../admin/keywords/confirm-delete.html.tmpl | 55 +++++++++++++++++++++ .../en/default/admin/keywords/create.html.tmpl | 55 +++++++++++++++++++++ .../default/admin/keywords/rebuild-cache.html.tmpl | 56 ++++++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100755 template/en/default/admin/keywords/confirm-delete.html.tmpl create mode 100755 template/en/default/admin/keywords/create.html.tmpl create mode 100755 template/en/default/admin/keywords/rebuild-cache.html.tmpl (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/keywords/confirm-delete.html.tmpl b/template/en/default/admin/keywords/confirm-delete.html.tmpl new file mode 100755 index 000000000..5ff826b86 --- /dev/null +++ b/template/en/default/admin/keywords/confirm-delete.html.tmpl @@ -0,0 +1,55 @@ + +[%# 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): Terry Weissman + # Vlad Dascalu + #%] + +[%# INTERFACE: + # name: string. The name of the keyword. + # keyword_id: number. The ID of the keyword. + # bug_count: number. The number of bugs with the keyword. + #%] + +[% PROCESS global/header.html.tmpl + title = "Delete Keyword" +%] + +

+ [% IF bug_count == 1 %] + There is one [% terms.bug %] with this keyword set. + [% ELSE %] + There are [% bug_count %] [%+terms.bugs %] with + this keyword set. + [% END %] + + Are you sure you want to delete + the [% name FILTER html %] keyword? +

+ +
+ + + + +
+ +

Go back to the query page +or edit other keywords.

+ +[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/admin/keywords/create.html.tmpl b/template/en/default/admin/keywords/create.html.tmpl new file mode 100755 index 000000000..49698a1db --- /dev/null +++ b/template/en/default/admin/keywords/create.html.tmpl @@ -0,0 +1,55 @@ + +[%# 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): Terry Weissman + # Vlad Dascalu + #%] + +[%# INTERFACE: + # none + #%] + +[% PROCESS global/header.html.tmpl + title = "Add keyword" + h2 = "This page allows you to add a new keyword." +%] + +
+ + + + + + + + + + +
Name:
Description: + +
+
+ + +
+ +

Go back to the query page +or edit other keywords.

+ +[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/admin/keywords/rebuild-cache.html.tmpl b/template/en/default/admin/keywords/rebuild-cache.html.tmpl new file mode 100755 index 000000000..4c4ea4b9a --- /dev/null +++ b/template/en/default/admin/keywords/rebuild-cache.html.tmpl @@ -0,0 +1,56 @@ + +[%# 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): Terry Weissman + # Vlad Dascalu + #%] + +[%# INTERFACE: + # action: string. Contains the current action (either "update" or "delete"). + # name: string. Contains the name of the current keyword. + #%] + +[% IF action == "update" %] + [% title = "Update keyword"%] + [% status = "updated" %] +[% ELSIF action == "delete" %] + [% title = "Delete keyword" %] + [% status = "deleted" %] +[% END %] + +[% PROCESS global/header.html.tmpl %] + +Keyword [% name FILTER html %] [%+status FILTER html %]. + +

+ After you have finished deleting or modifying keywords, + you need to rebuild the keyword cache.
+ + Warning: on a very large installation of [% terms.Bugzilla %], + this can take several minutes. +

+ +

+ Rebuild + keyword cache +

+ +

Go back to the query page or +edit more keywords.

+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b