View | Details | Raw Unified | Return to bug 14251
Collapse All | Expand All

(-)a/about.pl (+5 lines)
Lines 24-29 use Modern::Perl; Link Here
24
24
25
use CGI qw ( -utf8 );
25
use CGI qw ( -utf8 );
26
use DateTime::TimeZone;
26
use DateTime::TimeZone;
27
use IPC::Cmd qw(can_run);
27
use File::Slurp qw( read_file );
28
use File::Slurp qw( read_file );
28
use List::MoreUtils qw( any );
29
use List::MoreUtils qw( any );
29
use Module::Load::Conditional qw( can_load );
30
use Module::Load::Conditional qw( can_load );
Lines 325-330 if ( C4::Context->preference('ILLModule') ) { Link Here
325
    $template->param( warnILLConfiguration => $warnILLConfiguration );
326
    $template->param( warnILLConfiguration => $warnILLConfiguration );
326
}
327
}
327
328
329
unless ( can_run('weasyprint') ) {
330
    $template->param( weasyprint_missing => 1 );
331
}
332
328
{
333
{
329
    # XSLT sysprefs
334
    # XSLT sysprefs
330
    my @xslt_prefs = qw(
335
    my @xslt_prefs = qw(
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +6 lines)
Lines 219-225 Link Here
219
        </div>
219
        </div>
220
220
221
        <div role="tabpanel" class="tab-pane" id="sysinfo">
221
        <div role="tabpanel" class="tab-pane" id="sysinfo">
222
    [% IF warnRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnConnectBroker || elasticsearch_has_missing %]
222
    [% IF warnRequireChoosingExistingAuthority || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnPrefKohaAdminEmailAddress || warnPrefOpacHiddenItems || invalid_yesno.count || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnConnectBroker || elasticsearch_has_missing || weasyprint_missing %]
223
        [% IF (warnIsRootUser) %]
223
        [% IF (warnIsRootUser) %]
224
            <h2>Warning regarding current user</h2>
224
            <h2>Warning regarding current user</h2>
225
            <p>You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p>
225
            <p>You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p>
Lines 412-418 Link Here
412
                            Elasticsearch version 5.x is not supported in Koha 20.11 and greater. Please upgrade your Elasticsearch cluster
412
                            Elasticsearch version 5.x is not supported in Koha 20.11 and greater. Please upgrade your Elasticsearch cluster
413
                    </td></tr>
413
                    </td></tr>
414
                [% END %]
414
                [% END %]
415
415
                [% IF weasyprint_missing %]
416
                    <tr><th scope="row"><strong>Warning</strong> </th><td>
417
                    The <strong>weasyprint</strong> tool is not installed.
418
                    </td></tr>
419
                [% END %]
416
            </table>
420
            </table>
417
        [% END %]
421
        [% END %]
418
422
419
- 

Return to bug 14251