Bugzilla – Attachment 119810 Details for
Bug 28119
Use full description in layout type selection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28119: Use full description in layout type selection
Bug-28119-Use-full-description-in-layout-type-sele.patch (text/plain), 2.21 KB, created by
Katrin Fischer
on 2021-04-17 23:58:53 UTC
(
hide
)
Description:
Bug 28119: Use full description in layout type selection
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-04-17 23:58:53 UTC
Size:
2.21 KB
patch
obsolete
>From 1b57d45be18e2b53e0a74dfbee1b6ba01fb1edab Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 9 Apr 2021 12:09:28 +0000 >Subject: [PATCH] Bug 28119: Use full description in layout type selection > >This patch changes the template for editing label layout so that a full >description of label types is shown to the user rather than brief names. > >To test, apply the patch and go to Tools -> Label creator -> New -> >Layout. > >- On the "Choose layout type" line you should see selections with full > descriptions, e.g. "Only the barcode is printed." >- Choose a layout type and save the layout. Confirm that your choice was > saved correctly. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/labels/label-edit-layout.tt | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >index 927be6e891..34d0d1e062 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >@@ -1,14 +1,14 @@ > [% USE raw %] > [% SET footerjs = 1 %] >-[% BLOCK translate_label_types %] >-[% SWITCH type %] >-[% CASE 'BIB' %]Biblio >-[% CASE 'BARBIB' %]Barcode/Biblio >-[% CASE 'BIBBAR' %]Biblio/Barcode >-[% CASE 'ALT' %]Alternating >-[% CASE 'BAR' %]Barcode >-[% END %] >-[% END %] >+[%- BLOCK translate_label_types -%] >+ [%- SWITCH type -%] >+ [%- CASE 'BIB' -%] Only the bibliographic data is printed. >+ [%- CASE 'BARBIB'-%] Barcode proceeds bibliographic data. >+ [%- CASE 'BIBBAR'-%] Bibliographic data proceeds barcode. >+ [%- CASE 'ALT' -%] Barcode and bibliographic data are printed on alternating labels. >+ [%- CASE 'BAR' -%] Only the barcode is printed. >+ [%- END -%] >+[%- END -%] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Tools › Label creator › Layouts › [% IF ( layout_id ) %]Edit label layout [% layout_id | html %] [% ELSE %] New label layout [% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] >-- >2.11.0
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 28119
:
119372
|
119439
|
119558
|
119810
|
119811
|
119947