From 7edcb0dc22c61bed763581d91295c4edae72c17f Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 16 Jul 2010 11:41:42 +0200 Subject: Bug 578258: Calling votes.cgi with no arguments should either display the user's votes, or give a better error message if the extension is disabled r/a=mkanat --- template/en/default/global/code-error.html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'template/en') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index f37b6a452..dd05c239a 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -147,6 +147,11 @@ address. [% END %] + [% ELSIF error == "extension_disabled" %] + [% title = "Extension Disabled" %] + You cannot access this page because the extension '[% name FILTER html %]' + is disabled. + [% ELSIF error == "extension_must_be_subclass" %] [% package FILTER html %] from [% filename FILTER html %] is not a subclass of -- cgit v1.2.3-24-g4f1b