Koha/koha-tmpl/intranet-tmpl/prog/en/modules/labels
Fridolin Somers cbd8655157 Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin
The template plugin Branches contains a method GetLoggedInBranchcode that returns current branch code.
This patch adds GetLoggedInBranchname to get current branch name.
It is used to replace vars LoginBranchname and LoginBranchcode sent to all templates in C4/Auth.pm.

In labels and patrons cards modules, I choose to remove a unseless display of
current branch in a hint.

In acqui/acqui-home.tt, I choose to remove a useless display of current
branch and also because table of founds contains a filter on library.

Test plan:
Check pages source code to see branch code or name is correct.
list of the pages:
/cgi-bin/koha/acqui/acqui-home.pl
/cgi-bin/koha/catalogue/detail.pl?biblionumber=XXX
/cgi-bin/koha/circ/branchoverdues.pl
/cgi-bin/koha/circ/set-library.pl
/cgi-bin/koha/circ/offline.pl
/cgi-bin/koha/labels/label-edit-batch.pl?op=new
/cgi-bin/koha/labels/label-manage.pl
/cgi-bin/koha/patroncards/edit-batch.pl
/cgi-bin/koha/patroncards/manage.pl
OPAC:
/cgi-bin/koha/opac-detail.pl?biblionumber=XXX

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-23 11:17:27 +02:00
..
label-bib-search.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
label-edit-batch.tt Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin 2020-07-23 11:17:27 +02:00
label-edit-layout.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
label-edit-profile.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
label-edit-range.tt Bug 7468: (follow-up) fix label-edit-range template 2020-01-21 11:29:03 +00:00
label-edit-template.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
label-home.tt Bug 21335: Remove redundant includes of right-to-left.css 2019-02-22 13:34:05 +00:00
label-manage.tt Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin 2020-07-23 11:17:27 +02:00
label-print.tt Bug 7468: (follow-up) Add missing filters 2020-01-21 11:29:09 +00:00
result.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
search.tt Bug 9968: Fix wrong index for Standard number in advanced and label search 2018-10-09 11:04:24 +00:00
spinelabel-home.tt Bug 23464: (follow-up) QA fixes 2019-09-09 11:27:12 +01:00
spinelabel-print.tt Bug 23464: (follow-up) QA fixes 2019-09-09 11:27:12 +01:00