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

(-)a/about.pl (+7 lines)
Lines 506-511 $template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs; Link Here
506
    }
506
    }
507
}
507
}
508
508
509
{
510
    # Test 'key' config for Pseudonymization
511
    $template->param( config_key_no_set => 1 )
512
      if C4::Context->preference('Pseudonymization')
513
      and not C4::Context->config('key');
514
}
515
509
my %versions = C4::Context::get_versions();
516
my %versions = C4::Context::get_versions();
510
517
511
$template->param(
518
$template->param(
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-3 / +7 lines)
Lines 184-190 Link Here
184
        </div>
184
        </div>
185
185
186
        <div id="sysinfo">
186
        <div id="sysinfo">
187
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships %]
187
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || config_key_no_set %]
188
        [% IF (warnIsRootUser) %]
188
        [% IF (warnIsRootUser) %]
189
            <h2>Warning regarding current user</h2>
189
            <h2>Warning regarding current user</h2>
190
            <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>
190
            <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 246-252 Link Here
246
            [% END %]
246
            [% END %]
247
        [% END %]
247
        [% END %]
248
248
249
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules %]
249
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_key_no_set %]
250
            <h2>Warnings regarding the system configuration</h2>
250
            <h2>Warnings regarding the system configuration</h2>
251
            <table>
251
            <table>
252
                <caption>Preferences and parameters</caption>
252
                <caption>Preferences and parameters</caption>
Lines 328-333 Link Here
328
                    Some system preferences have badly formatted YAML content: [% bad_yaml_prefs.join(', ') | html %]
328
                    Some system preferences have badly formatted YAML content: [% bad_yaml_prefs.join(', ') | html %]
329
                    </td></tr>
329
                    </td></tr>
330
                [% END %]
330
                [% END %]
331
                [% IF config_key_no_set %]
332
                    <tr><th scope="row"><b>Warning</b> </th><td>
333
                    System preference 'Pseudonymization' is set, but there is not 'key' entry defined in the $KOHA_CONF file.
334
                    </td></tr>
335
                [% END %]
331
            </table>
336
            </table>
332
        [% END %]
337
        [% END %]
333
338
334
- 

Return to bug 24151