Bug 34378 - Inconsistencies in Libraries page titles, breadcrumbs, and header
Summary: Inconsistencies in Libraries page titles, breadcrumbs, and header
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 33909
Blocks: 34396
  Show dependency treegraph
 
Reported: 2023-07-25 16:29 UTC by Caroline Cyr La Rose
Modified: 2024-07-04 20:38 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:


Attachments
Bug 34378: Fix inconsistencies in Libraries page titles, breadcrumbs, and header (3.38 KB, patch)
2023-08-18 08:48 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 34378: Fix inconsistencies in Libraries page titles, breadcrumbs, and header (3.42 KB, patch)
2023-08-18 09:04 UTC, Biblibre Sandboxes
Details | Diff | Splinter Review
Bug 34378: Fix inconsistencies in Libraries page titles, breadcrumbs, and header (3.48 KB, patch)
2023-08-24 21:24 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2023-07-25 16:29:03 UTC
While testing bug 33909, I had to look at all the pages in the administration module. In doing so, I found some inconsistencies between the various pages. 

For the Libraries page, here is what should be changed to make it consistent with the other pages in the module:

Page title
- Remove library code from New X (this is only visible in the code, unless I misunderstand the line)
- Add library code to Modify X in page title (e.g. Modify library 'CPL')

Breadcrumb
- Add library code to Modify X in breadcrumb (e.g. Modify library 'CPL')

Page header
- Add library code to Modify X in page header (e.g. Modify library 'CPL')
Comment 1 Owen Leonard 2023-08-18 08:48:37 UTC
Created attachment 154606 [details] [review]
Bug 34378: Fix inconsistencies in Libraries page titles, breadcrumbs, and header

This patch makes changes to the libraries administration page so that
the page title, breadcrumbs, and page headings are more consistent with
each other.

To test, apply the patch and go to Administration -> Libraries.

- Click "New library"
- The page title, breadcrumb navigation, and page heading should all
  read "New library"
- Enter some details, save your new library, and then click the "Delete"
  button corresponding to your new library.
- On the deletion conformation page, the page title and breadcrumb
  navigation should match, "Confirm deletion of library 'X'"
- Edit a library. On the edit page, the page title, breadcrumb
  navigation, and page heading should match: "Modify library 'X'"
Comment 2 Biblibre Sandboxes 2023-08-18 09:04:59 UTC
Created attachment 154609 [details] [review]
Bug 34378: Fix inconsistencies in Libraries page titles, breadcrumbs, and header

This patch makes changes to the libraries administration page so that
the page title, breadcrumbs, and page headings are more consistent with
each other.

To test, apply the patch and go to Administration -> Libraries.

- Click "New library"
- The page title, breadcrumb navigation, and page heading should all
  read "New library"
- Enter some details, save your new library, and then click the "Delete"
  button corresponding to your new library.
- On the deletion conformation page, the page title and breadcrumb
  navigation should match, "Confirm deletion of library 'X'"
- Edit a library. On the edit page, the page title, breadcrumb
  navigation, and page heading should match: "Modify library 'X'"

Signed-off-by: paul <paul.poulain@biblibre.com>
Comment 3 Katrin Fischer 2023-08-24 21:24:30 UTC
Created attachment 154757 [details] [review]
Bug 34378: Fix inconsistencies in Libraries page titles, breadcrumbs, and header

This patch makes changes to the libraries administration page so that
the page title, breadcrumbs, and page headings are more consistent with
each other.

To test, apply the patch and go to Administration -> Libraries.

- Click "New library"
- The page title, breadcrumb navigation, and page heading should all
  read "New library"
- Enter some details, save your new library, and then click the "Delete"
  button corresponding to your new library.
- On the deletion conformation page, the page title and breadcrumb
  navigation should match, "Confirm deletion of library 'X'"
- Edit a library. On the edit page, the page title, breadcrumb
  navigation, and page heading should match: "Modify library 'X'"

Signed-off-by: paul <paul.poulain@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi (tcohen) 2023-08-29 17:58:18 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 5 Fridolin Somers 2023-08-30 06:59:46 UTC
Depends on Bug 33909 not in 23.05.x