Bugzilla – Attachment 163240 Details for
Bug 20657
Globally enable PRE_CHOMP and POST_CHOMP in Template Toolkit configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20657: Explicit + for TT vars in sentences
Bug-20657-Explicit--for-TT-vars-in-sentences.patch (text/plain), 1.97 KB, created by
Jonathan Druart
on 2024-03-15 14:07:59 UTC
(
hide
)
Description:
Bug 20657: Explicit + for TT vars in sentences
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-03-15 14:07:59 UTC
Size:
1.97 KB
patch
obsolete
>From 2241410ddb79f5a56d307a4da6a17ebec33559a6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 15 Mar 2024 15:05:42 +0100 >Subject: [PATCH] Bug 20657: Explicit + for TT vars in sentences > >If inside div and span? >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 9124612b81f..228b4bf9990 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -486,9 +486,9 @@ > </div> > [% ELSIF ( transfer = item.object.get_transfer ) %] > [% IF (transfer.datesent) %] >- <div class="item_status intransit">In transit from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.datesent | $KohaDates %]</div> >+ <div class="item_status intransit">In transit from [%+ Branches.GetName( transfer.frombranch ) | html +%] to [%+ Branches.GetName( transfer.tobranch ) | html +%] since [%+ transfer.datesent | $KohaDates +%]</div> > [% ELSE %] >- <div class="item_status transitrequested">Transit pending from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.daterequested | $KohaDates %]</div> >+ <div class="item_status transitrequested">Transit pending from [%+ Branches.GetName( transfer.frombranch ) | html +%] to [%+ Branches.GetName( transfer.tobranch ) | html +%] since [%+ transfer.daterequested | $KohaDates +%]</div> > [% END %] > [% END %] > >-- >2.34.1
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 20657
:
148167
|
163235
|
163239
| 163240 |
163241