Bugzilla – Attachment 156508 Details for
Bug 34397
Inconsistencies in Classification sources page titles, breadcrumbs, and header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34397: Fix inconsistencies in Classification sources page titles, breadcrumbs, and headers
Bug-34397-Fix-inconsistencies-in-Classification-so.patch (text/plain), 5.41 KB, created by
Owen Leonard
on 2023-10-03 16:30:00 UTC
(
hide
)
Description:
Bug 34397: Fix inconsistencies in Classification sources page titles, breadcrumbs, and headers
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-10-03 16:30:00 UTC
Size:
5.41 KB
patch
obsolete
>From 76da09dbcd05c35311bf8fe07245ad6e4b22b2de Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 3 Oct 2023 16:24:07 +0000 >Subject: [PATCH] Bug 34397: Fix inconsistencies in Classification sources page > titles, breadcrumbs, and headers > >This patch fixes some inconsistencies in the classification >configuration administration page, making sure the page title, >breadcrumb navigation, and page headers are consistent with each other. > >Test each view to confirm that page title, heading, and breadcrumbs are >consistent: > >- Administration -> Classification configuration > - New classification source > - Edit classification source > - New filing rule > - Edit filing rule > - New splitting rule > - Edit splitting rule >--- > .../prog/en/modules/admin/classsources.tt | 38 +++++++++---------- > 1 file changed, 19 insertions(+), 19 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >index e5a3981c91..a43beb37ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt >@@ -6,24 +6,24 @@ > <title>[% FILTER collapse %] > [% IF op == 'add_source' %] > [% IF class_source %] >- [% t("Modify classification source") | html %] >+ [% tx("Modify classification source '{description}'", { description = class_source.description }) | html %] > [% ELSE %] >- [% t("Add classification source") | html %] >+ [% t("New classification source") | html %] > [% END %] › > [% ELSIF op == 'add_sort_rule' %] > [% IF sort_rule %] >- [% t("Modify filing rule") | html %] >+ [% tx("Modify filing rule '{description}'", { description = sort_rule.description }) | html %] > [% ELSE %] >- [% t("Add filing rule") | html %] >+ [% t("New filing rule") | html %] > [% END %] › > [% ELSIF op == 'add_split_rule' %] > [% IF split_rule %] >- [% t("Modify splitting rule") | html %] >+ [% tx("Modify splitting rule '{description}'", { description = split_rule.description }) | html %] > [% ELSE %] >- [% t("Add splitting rule") | html %] >+ [% t("New splitting rule") | html %] > [% END %] › > [% END %] >- [% t("Classification sources") | html %] › >+ [% t("Classification configuration") | html %] › > [% t("Administration") | html %] › > [% t("Koha") | html %] > [% END %]</title> >@@ -62,27 +62,27 @@ > [% IF op == 'add_source' %] > [% WRAPPER breadcrumb_item bc_active= 1 %] > [% IF class_source %] >- <span>Modify classification source</span> >+ [% tx("Modify classification source '{description}'", { description = class_source.description }) | html %] > [% ELSE %] >- <span>Add classification source</span> >+ <span>New classification source</span> > [% END %] > [% END %] > > [% ELSIF op == 'add_sort_rule' %] > [% WRAPPER breadcrumb_item bc_active= 1 %] > [% IF sort_rule %] >- <span>Modify filing rule</span> >+ [% tx("Modify filing rule '{description}'", { description = sort_rule.description }) | html %] > [% ELSE %] >- <span>Add filing rule</span> >+ <span>New filing rule</span> > [% END %] > [% END %] > > [% ELSIF op == 'add_split_rule' %] > [% WRAPPER breadcrumb_item bc_active= 1 %] > [% IF split_rule %] >- <span>Modify splitting rule</span> >+ [% tx("Modify splitting rule '{description}'", { description = split_rule.description }) | html %] > [% ELSE %] >- <span>Add splitting rule</span> >+ <span>New splitting rule</span> > [% END %] > [% END %] > >@@ -143,9 +143,9 @@ > > [% IF op == 'add_source' %] > [% IF class_source %] >-<h1>Modify classification source</h1> >+<h1>[% tx("Modify classification source '{description}'", { description = class_source.description }) | html %]</h1> > [% ELSE %] >-<h1>Add classification source</h1> >+<h1>New classification source</h1> > [% END %] > <form action="[% script_name | html %]" name="Aform" class="validated" method="post"> > <input type="hidden" name="op" value="add_source_validate" /> >@@ -207,9 +207,9 @@ > > [% IF op == 'add_sort_rule' %] > [% IF sort_rule %] >-<h1>Modify filing rule</h1> >+<h1>[% tx("Modify filing rule '{description}'", { description = sort_rule.description }) | html %]</h1> > [% ELSE %] >-<h1>Add filing rule</h1> >+<h1>New filing rule</h1> > [% END %] > <form action="[% script_name | html %]" name="Aform" class="validated" method="post"> > <input type="hidden" name="op" value="add_sort_rule_validate" /> >@@ -253,9 +253,9 @@ > > [% IF op == 'add_split_rule' %] > [% IF split_rule %] >-<h1>Modify splitting rule</h1> >+<h1>[% tx("Modify splitting rule '{description}'", { description = split_rule.description }) | html %]</h1> > [% ELSE %] >-<h1>Add splitting rule</h1> >+<h1>New splitting rule</h1> > [% END %] > <form action="[% script_name | html %]" name="Aform" class="validated" method="post"> > <input type="hidden" name="op" value="add_split_rule_validate" /> >-- >2.30.2
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 34397
:
156508
|
158020
|
158390