Bugzilla->switch_to_shadow_db;
$vars->{'keywords'} = Bugzilla::Keyword->get_all_with_bug_count();
+if (!@{$vars->{keywords}}) {
+ ThrowUserError("no_keywords");
+}
$vars->{'caneditkeywords'} = $user->in_group("editkeywords");
print $cgi->header();
[% title = "No Initial $terms.Bug Status" %]
No [% terms.bug %] status is available on [% terms.bug %] creation.
Please report the problem to [% Param("maintainer") %].
+
+ [% ELSIF error == "no_keywords" %]
+ [% title = "No Keywords" %]
+ [% admindocslinks = {'keywords.html' => 'Setting up a keyword'} %]
+ No keywords have been defined for this installation.
[% ELSIF error == "no_new_quips" %]
[% title = "No New Quips" %]