From a55ba85be7bc5d203f6b37a814dde6d9236e765d Mon Sep 17 00:00:00 2001
From: Katrin Fischer <Katrin.Fischer.83@web.de>
Date: Sun, 17 Nov 2013 18:37:59 +0100
Subject: [PATCH] Bug 11248: Follow up - Fix template for translated list
 emails in staff

Copied over the template changes done for the OPAC to the staff
template.

To test:
- Update and install translation files
- Send yourself a shelf from the staff interface vie email
- Check formatting and links are correct

Removes reference to [% BIBLIO_RESULT.size %], because
with TT this will be the count of elements instead of
the content of the field.
---
 .../prog/en/modules/virtualshelves/sendshelf.tt              | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt
index 644e7d9..542205a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt
@@ -1,5 +1,5 @@
 <SUBJECT>
-Your List : [% shelfname %]
+Your list: [% shelfname %]
 <END_SUBJECT>
 
 [% USE HtmlToText %]
@@ -13,7 +13,7 @@ Your List : [% shelfname %]
     <p>Here is your list called [% shelfname %], sent from our online catalog.</p>
 
     <p>Please note that the attached file is a MARC bibliographic records file
-    which can be imported into a Personal Bibliographic Software like EndNote,
+    which can be imported into personal bibliographic software like EndNote,
     Reference Manager or ProCite.</p>
     <hr/>
 [% END %]
@@ -73,9 +73,6 @@ Your List : [% shelfname %]
                 [% IF ( BIBLIO_RESULT.pages ) %]
                     , [% BIBLIO_RESULT.pages %]
                 [% END %]
-                [% IF BIBLIO_RESULT.size %]
-                , [% BIBLIO_RESULT.size %]
-                [% END %]
             </span><br/>
             [% END %]
 
@@ -134,14 +131,14 @@ Your List : [% shelfname %]
             [% END %]
             [% IF ( BIBLIO_RESULT.url ) %]
             <span>
-                URL: [% BIBLIO_RESULT.url %]
+                URL: [% BIBLIO_RESULT.url |url %]
             </span>
             [% END %]
             </p>
 
             [% IF ( OPACBaseURL ) %]
             <p>
-                In online catalog: [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
+                In online catalog: http://[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber %]
             </p>
             [% END %]
             [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %]
@@ -162,5 +159,4 @@ Your List : [% shelfname %]
     </ol>
 
 [% END %]
-
 <END_MESSAGE>
-- 
1.8.3.2