Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials
Owen Leonard e478118dc5
Bug 26549: Show value of global system preferences on subscription form
This patch modifies the subscription entry form so that the values of
two system preferences are displayed as a hint to the user:

The "Number of issues to display to staff" field will show the value
of the StaffSerialIssueDisplayCount preference, and the "Number of
issues to display to the public" field will show
OPACSerialIssueDisplayCount. If the user has permission the system
preference names will link to the system preferences page.

To test, apply the patch and log into the staff interface as a user with
permission to edit system preferences.

- Go to Serials -> New subscription.
- The "Number of issues to display to staff" field should have a hint
  under it: "Default: XX (StaffSerialIssueDisplayCount system
   preference)"
- The "Number of issues to display to the public" field should have a
  hint under it: "Default: XX (OPACSerialIssueDisplayCount system
  preference)"
- Log out and log back in as a user who does not have permission to edit
  system preferences. Return to the form and confirm that the hints do
  not link to system preferences.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-25 11:28:17 -03:00
..
acqui-search-result.tt Bug 26703: serials folder 2021-04-21 11:16:35 +02:00
acqui-search.tt Bug 29055: Focus on keyword field when subscription biblio search window opens 2022-06-25 10:54:37 -03:00
checkexpiration.tt Bug 28958: Use Flatpickr on serials pages 2021-10-05 10:58:14 +02:00
claims.tt Bug 30039: (QA follow-up) Change published on to publication date 2022-07-20 09:57:24 -03:00
result.tt Bug 26703: serials folder 2021-04-21 11:16:35 +02:00
routing-preview-slip.tt Bug 26703: serials folder 2021-04-21 11:16:35 +02:00
routing-preview.tt Bug 27631: reports and serials folders 2022-04-20 09:03:38 -10:00
routing.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
serials-collection.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
serials-edit.tt Bug 27631: reports and serials folders 2022-04-20 09:03:38 -10:00
serials-home.tt Bug 27631: reports and serials folders 2022-04-20 09:03:38 -10:00
serials-search.tt Bug 30973: Serials search fix body id 2022-06-16 09:42:51 -03:00
showpredictionpattern.tt Bug 27631: reports and serials folders 2022-04-20 09:03:38 -10:00
subscription-add.tt Bug 26549: Show value of global system preferences on subscription form 2022-07-25 11:28:17 -03:00
subscription-batchedit.tt Bug 28958: Use Flatpickr on serials pages 2021-10-05 10:58:14 +02:00
subscription-bib-search.tt Bug 29055: Focus on keyword field when subscription biblio search window opens 2022-06-25 10:54:37 -03:00
subscription-detail.tt Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
subscription-frequencies.tt Bug 29602: Surround strings with span tag 2022-04-19 21:25:51 -10:00
subscription-history.tt Bug 29240: Rename start_for with date_to 2021-10-19 14:08:09 +02:00
subscription-numberpatterns.tt Bug 28958: Use Flatpickr on serials pages 2021-10-05 10:58:14 +02:00
subscription-renew.tt Bug 27631: reports and serials folders 2022-04-20 09:03:38 -10:00
viewalerts.tt Bug 26703: serials folder 2021-04-21 11:16:35 +02:00