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>
upgrade => ($pm_type eq 'upgrade_pm' ? 1 : 0),
current => ($pm_type eq 'current_pm' ? 1 : 0),
require => $stats->{'required'},
+ reqversion => $stats->{'min_ver'},
}
);
}
<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>