From 17993abacee4be3c8180d6b749d72ae8466ce20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Thu, 7 Aug 2014 07:45:34 +0200 Subject: [PATCH] [SIGNED OFF] Bug 12790 - Perl modules: Display required version numbers on about page This patch adds information about required perl module versions to the 'About' page. To test: Apply patch In staff client, go to 'About', tab 'Perl modules' The required version numbers should display in small print underneath the module names. Signed-off-by: Nick Clemens --- about.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/about.pl b/about.pl index b197cd3..d144e37 100755 --- a/about.pl +++ b/about.pl @@ -161,6 +161,7 @@ foreach my $pm_type(@pm_types) { upgrade => ($pm_type eq 'upgrade_pm' ? 1 : 0), current => ($pm_type eq 'current_pm' ? 1 : 0), require => $stats->{'required'}, + reqversion => $stats->{'min_ver'}, } ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 30de558..2418a86 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -83,7 +83,7 @@ [% END %] [% END %] - [% ro.name %] + [% ro.name %]
[%ro.reqversion %]
[% IF ( ro.name == '' ) %] -- 1.7.10.4