From cc989876869338d0a9a83fbe598afedacdefd6af Mon Sep 17 00:00:00 2001
From: "gerv%gerv.net" <>
Date: Fri, 13 Feb 2004 06:32:57 +0000
Subject: Bug 232749 - fix various charting problems revealed by b.m.o.
upgrade, including editing, subscribe buttons and terminology. Patch by gerv;
r=kiko, a=justdave.
---
template/en/default/global/messages.html.tmpl | 11 -----------
template/en/default/global/user-error.html.tmpl | 7 +++++++
template/en/default/list/list.html.tmpl | 7 ++++++-
template/en/default/reports/create-chart.html.tmpl | 2 +-
template/en/default/reports/edit-series.html.tmpl | 21 ++++++++++++++++-----
template/en/default/reports/series.html.tmpl | 9 ++-------
.../default/search/search-create-series.html.tmpl | 14 +++++++++++---
7 files changed, 43 insertions(+), 28 deletions(-)
(limited to 'template')
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index 1e544cb22..7fc93f013 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -135,17 +135,6 @@
Back to flag types.
- [% ELSIF message_tag == "series_already_exists" %]
- [% title = "Series Already Exists" %]
- A series [% series.category FILTER html %] /
- [%+ series.subcategory FILTER html %] /
- [%+ series.name FILTER html %]
- already exists. If you want to create this series, you will need to give
- it a different name.
-
- Go back or
- create another series.
-
[% ELSIF message_tag == "series_created" %]
[% title = "Series Created" %]
The series [% series.category FILTER html %] /
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 06ce6e441..3fa735cc3 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -657,6 +657,13 @@
[% title = "Access Denied" %]
You do not have the permissions necessary to run a sanity check.
+ [% ELSIF error == "series_already_exists" %]
+ [% title = "Series Already Exists" %]
+ A series named [% series.category FILTER html %] /
+ [%+ series.subcategory FILTER html %] /
+ [%+ series.name FILTER html %]
+ already exists.
+
[% ELSIF error == "sidebar_supports_mozilla_only" %]
Sorry - sidebar.cgi currently only supports Mozilla based web browsers.
Upgrade today. :-)
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 5eb7b7c45..f0e03cd42 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -19,6 +19,11 @@
# Contributor(s): Myk Melez
#%]
+[%# INTERFACE:
+ # searchtype: string. Type of search - either "series", "saved" or undef.
+ # ...
+ #%]
+
[%############################################################################%]
[%# Template Initialization #%]
[%############################################################################%]
@@ -155,7 +160,7 @@
Edit Search
- [% IF searchname %]
+ [% IF searchtype == "saved" %]
Note: there is currently a restriction that data sets will only count public
- [% terms.bugs %] (those not in any group).
+ [%+ terms.bugs %] (those not in any group).