Bugzilla – Attachment 31360 Details for
Bug 12790
Perl modules: Display required version numbers on about page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12790 - Perl modules: Display required version numbers on about page
Bug-12790---Perl-modules-Display-required-version-.patch (text/plain), 1.99 KB, created by
Marcel de Rooy
on 2014-09-04 06:49:00 UTC
(
hide
)
Description:
Bug 12790 - Perl modules: Display required version numbers on about page
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-09-04 06:49:00 UTC
Size:
1.99 KB
patch
obsolete
>From 290d0bbe7d368cd1a6098849a0d5088a8d69cd10 Mon Sep 17 00:00:00 2001 >From: =?utf8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Thu, 7 Aug 2014 07:45:34 +0200 >Subject: [PATCH] Bug 12790 - Perl modules: Display required version numbers > on about page >Content-Type: text/plain; charset=utf-8 > >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 next to or >underneath the module names. > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > about.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 4 +++- > 2 files changed, 4 insertions(+), 1 deletions(-) > >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..e2422f0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >@@ -83,7 +83,9 @@ > <th scope="row" style="background-color:#FF8A8A;font-weight:normal" title="Optional module missing"> > [% END %] > [% END %] >- [% ro.name %] >+ [% IF ( ro.name ) %] >+ [% ro.name %] <span style="font-weight:normal; font-size:smaller"> ([%ro.reqversion %])</span> >+ [% END %] > </th> > [% IF ( ro.name == '' ) %] > <td> >-- >1.7.7.6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12790
:
31006
|
31331
|
31347
|
31348
|
31359
| 31360 |
31361