From 89a302141211ccb5e5eb92ce2b81f37bd33b9957 Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Sat, 26 Apr 2014 14:37:42 +0200 Subject: [PATCH 2/2] Bug 12111 - QA followup : fix breadcrumbs wording for vendor note Content-Type: text/plain; charset="utf-8" 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 --- .../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 91491d2..3ba7158 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' %] -- 1.7.9.5