From 16a1c874c190a2726ff8a9e9aadac12a37592023 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 24 Oct 2007 00:36:51 +0000 Subject: Bug 357324: Date/Time Custom Fields Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/global/field-descs.none.tmpl | 1 + template/en/default/global/user-error.html.tmpl | 7 +++++++ 2 files changed, 8 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl index 64bf546e6..178a68444 100644 --- a/template/en/default/global/field-descs.none.tmpl +++ b/template/en/default/global/field-descs.none.tmpl @@ -83,6 +83,7 @@ ${constants.FIELD_TYPE_SINGLE_SELECT} => "Drop Down", ${constants.FIELD_TYPE_MULTI_SELECT} => "Multiple-Selection Box", ${constants.FIELD_TYPE_TEXTAREA} => "Large Text Box", + ${constants.FIELD_TYPE_DATETIME} => "Date/Time", } %] [% status_descs = { "UNCONFIRMED" => "UNCONFIRMED", diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 77ce40f72..16bc0f7af 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -733,6 +733,13 @@ [% docslinks = {'reporting.html' => 'Reporting'} %] You are not authorized to edit this series. To do this, you must either be its creator, or an administrator. + + [% ELSIF error == "illegal_time" %] + [% title = "Illegal Time" %] + '[% time FILTER html %]' is not a legal time. + [% IF format %] + Please use the format '[% format FILTER html %]'. + [% END %] [% ELSIF error == "insufficient_data_points" %] [% docslinks = {'reporting.html' => 'Reporting'} %] -- cgit v1.2.3-24-g4f1b