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 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> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
80086f3ffb
commit
27d3409598
1
about.pl
1
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'},
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue