Bugzilla – Attachment 191735 Details for
Bug 41522
Make system preferences clickable for warnings in About Koha > System information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41522: Make sysprefs clickable in warnings
Bug-41522-Make-sysprefs-clickable-in-warnings.patch (text/plain), 2.62 KB, created by
Oli Williams
on 2026-01-21 02:06:25 UTC
(
hide
)
Description:
Bug 41522: Make sysprefs clickable in warnings
Filename:
MIME Type:
Creator:
Oli Williams
Created:
2026-01-21 02:06:25 UTC
Size:
2.62 KB
patch
obsolete
>From f45353a13a9be39773dd949180348a6fc6a79014 Mon Sep 17 00:00:00 2001 >From: Oli Williams <imhungryoliver@gmail.com> >Date: Wed, 21 Jan 2026 02:01:57 +0000 >Subject: [PATCH] Bug 41522: Make sysprefs clickable in warnings > >Modified system information warnings to have hyperlinks to their system preferences page. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >index 326eae4..8af7b25 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >@@ -545,7 +545,12 @@ > [% IF (warnPrefRequireChoosingExistingAuthority) %] > <tr> > <th scope="row"><strong>Warning</strong> </th> >- <td>System preference 'RequireChoosingExistingAuthority' is disabled, but needs 'AutoCreateAuthorities' enabled. Otherwise catalogers can add headings that will not be linked to authorities.</td> >+ <td >+ >System preference '<a href="admin/preferences.pl?op=search&searchfield=RequireChoosingExistingAuthority&ok=Search">RequireChoosingExistingAuthority</a>' is disabled, but needs '<a >+ href="admin/preferences.pl?op=search&searchfield=AutoCreateAuthorities&ok=Search" >+ >AutoCreateAuthorities</a >+ >' enabled. Otherwise catalogers can add headings that will not be linked to authorities.</td >+ > > </tr> > [% END %] > [% IF (warnPrefEasyAnalyticalRecords) %] >@@ -611,7 +616,10 @@ > [% FOR p IN invalid_yesno %] > <tr> > <th scope="row"><strong>Warning</strong> </th> >- <td>System preference '[% p.variable | html %]' must be '0' or '1', but is [% IF p.value.defined %]'[% p.value | html %]'[% ELSE %]NULL[% END %].</td> >+ <td >+ >System preference '<a href="admin/preferences.pl?tab=&op=search&searchfield=[% p.variable | uri %]">[% p.variable | html %]</a>' must be '0' or '1', but is >+ [% IF p.value.defined %]'[% p.value | html %]'[% ELSE %]NULL[% END %].</td >+ > > </tr> > [% END %] > [% END %] >-- >2.39.5
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 41522
:
191735
|
191776
|
191838
|
191894
|
192115
|
192280
|
192281
|
192682