Bug 28037: Improve breadcrumbs of CSV profiles page
authorOwen Leonard <oleonard@myacpl.org>
Thu, 25 Mar 2021 18:20:39 +0000 (18:20 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Apr 2021 13:56:31 +0000 (15:56 +0200)
commit18bbf42b33cc1872bd9fea5c495abf0b97df7b04
tree55b735892a09c86b453f7603eccee5c20fc83fea
parent1fc05de2ef183541abbeb5b022c4311227af81bd
Bug 28037: Improve breadcrumbs of CSV profiles page

This patch expands the logic around the page title and breadcrumbs of
the CSV profiles page.

The name of the page has also been changed from "CSV export profiles" to
"CSV profiles" to match links elsewhere in Koha.

To test, apply the patch and go to Tools -> CSV profiles.

- The initial state of the page title and breadcrumbs menu should be
  "Tools > CSV profiles."
- Click "New CSV profile." The page title and breadcrumbs should show
  "Tools > CSV profiles > New CSV profile."
- Edit an existing CSV profile. The page title and breadcrumbs should
  show "Tools > CSV profiles > Modify a CSV profile."

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt