From 12470247b7fe2c06d66ba40b59df5e329b761b41 Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Sat, 26 Apr 2014 14:37:42 +0200 Subject: [PATCH] Bug 12111: (follow-up) fix breadcrumbs wording for vendor note As asked by QAer, this followup fixes wording in modordernotes.tt for vendor note (Change order vendor note vendor note => Change order vendor note) It also uses [%- and -%] to make code more readable Test plan : try to edit a vendor note, check the wording is correct in breadcrumbs Signed-off-by: Katrin Fischer Works as described, should be nicely translatable now. Signed-off-by: Galen Charlton --- .../intranet-tmpl/prog/en/modules/acqui/modordernotes.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt index 91491d2cfe..3ba715874e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt @@ -1,5 +1,11 @@ [% INCLUDE 'doc-head-open.inc' %] -Koha › Acquisition › [% IF (type == "vendor") %]Change order vendor note vendor note[% ELSE %]Change order internal note[% END %] +Koha › Acquisition › +[%- IF (type == "vendor") -%] + Change order vendor note +[%- ELSE -%] + Change order internal note +[%- END -%] + [% INCLUDE 'doc-head-close.inc' %] -- 2.39.5