From a55ba85be7bc5d203f6b37a814dde6d9236e765d Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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 @@ -Your List : [% shelfname %] +Your list: [% shelfname %] [% USE HtmlToText %] @@ -13,7 +13,7 @@ Your List : [% shelfname %]

Here is your list called [% shelfname %], sent from our online catalog.

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.


[% END %] @@ -73,9 +73,6 @@ Your List : [% shelfname %] [% IF ( BIBLIO_RESULT.pages ) %] , [% BIBLIO_RESULT.pages %] [% END %] - [% IF BIBLIO_RESULT.size %] - , [% BIBLIO_RESULT.size %] - [% END %]
[% END %] @@ -134,14 +131,14 @@ Your List : [% shelfname %] [% END %] [% IF ( BIBLIO_RESULT.url ) %] - URL: [% BIBLIO_RESULT.url %] + URL: [% BIBLIO_RESULT.url |url %] [% END %]

[% IF ( OPACBaseURL ) %]

- 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 %]

[% END %] [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %] @@ -162,5 +159,4 @@ Your List : [% shelfname %] [% END %] - -- 1.8.3.2