Bug 12111: (follow-up) fix breadcrumbs wording for vendor note
authorMathieu Saby <mathsabypro@gmail.com>
Sat, 26 Apr 2014 12:37:42 +0000 (14:37 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 28 Apr 2014 15:31:46 +0000 (15:31 +0000)
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 <Katrin.Fischer.83@web.de>
Works as described, should be nicely translatable now.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt

index 91491d2..3ba7158 100644 (file)
@@ -1,5 +1,11 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Acquisition &rsaquo; [% IF (type == "vendor") %]Change order vendor note vendor note[% ELSE %]Change order internal note[% END %]</title>
+<title>Koha &rsaquo; Acquisition &rsaquo;
+[%- IF (type == "vendor") -%]
+    Change order vendor note
+[%- ELSE -%]
+    Change order internal note
+[%- END -%]
+</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>