From af3c716b7dbe9e44719766593f6c51cf30a054e7 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 26 Apr 2016 12:59:52 -0400 Subject: Bug 1251100 - checksetup.pl no longer tells admins which modules are installed and which version is installed --- template/en/default/global/code-error.html.tmpl | 3 ++- template/en/default/global/user-error.html.tmpl | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'template/en/default/global') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 40abfe5c1..3f83dbb68 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -114,7 +114,8 @@ [% ELSIF error == "cookies_need_value" %] Every cookie must have a value. - + [% ELSIF error == "cpan_meta_missing" %] + META.json/MYMETA.json file is missing. [% ELSIF error == "env_no_email" %] Bugzilla did not receive an email address from the environment. diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index bdb90a2a2..dd6c71539 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -565,12 +565,10 @@ (You specified '[% name FILTER html %]'.) [% ELSIF error == "feature_disabled" %] - The [% install_string("feature_$feature") FILTER html %] feature is not - available in this Bugzilla. + The [% feature_description(feature) FILTER html %] feature is not available in this Bugzilla. [% IF user.in_group('admin') %] If you would like to enable this feature, please run - checksetup.pl to see how to install the necessary - requirements for this feature. + cpanm -l local --installdeps --with-feature [% feature FILTER html %] "." [% END %] [% ELSIF error == "field_already_exists" %] -- cgit v1.2.3-24-g4f1b