Bug 7905: display serial notes on several lines
authorAdrien Saurat <adrien.saurat@biblibre.com>
Thu, 5 Apr 2012 14:43:08 +0000 (16:43 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 27 Jun 2012 13:29:33 +0000 (15:29 +0200)
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch works and makes use of TT filters!

I agree the display could be improved to work a bit nicer
for long lines or multi-line comments, but this is still a nice
improvement.

koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt

index d2ded73..1afd0c1 100644 (file)
@@ -376,10 +376,10 @@ $(document).ready(function() {
             <li><span class="label">History end date:</span> [% histenddate %]</li>
             <li><span class="label">Received issues:</span>[% recievedlist %]</li>
             <li><span class="label">Missing issues:</span>[% missinglist %]</li>
-            <li><span class="label">Nonpublic note:</span>[% internalnotes %]</li>
-            <li><span class="label">OPAC note:</span>[% notes %]</li>
-            <li><span class="label">History staff note</span>[% librariannote %]</li>
-            <li><span class="label">History OPAC note</span>[% opacnote %]</li>
+            <li><span class="label">Nonpublic note:</span>[% internalnotes FILTER html_line_break %]</li>
+            <li><span class="label">Public note:</span>[% notes FILTER html_line_break %]</li>
+            <li><span class="label">History staff note</span>[% librariannote FILTER html_line_break %]</li>
+            <li><span class="label">History OPAC note</span>[% opacnote FILTER html_line_break %]</li>
         </ol>
     </div>
     </div>