From 543a5cbe025f41145037b261b6af71c25d821356 Mon Sep 17 00:00:00 2001
From: Sophie Meynieux
Date: Wed, 12 Mar 2014 15:53:28 +0100
Subject: [PATCH] Bug 11647 : (follow-up) Add template modification for
bootstrap theme
Signed-off-by: Aurelie Fichot
Signed-off-by: Katrin Fischer
Signed-off-by: Galen Charlton
(cherry picked from commit b987a206f6ba78ae72c5a21e0ce0d8720863746c)
Signed-off-by: Fridolin Somers
---
.../en/modules/opac-serial-issues.tt | 20 +++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt
index d63593e644..9967f887ad 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt
@@ -131,14 +131,18 @@
[% END %]
[% IF ( subscription_LOO.letter ) %]
- [% IF ( subscription_LOO.hasalert ) %]
- You have subscribed to email notification on new issues
- Cancel email notification
-
+ [% IF ( loggedinusername ) %]
+ [% IF ( subscription_LOO.hasalert ) %]
+ You have subscribed to email notification on new issues
+ Cancel email notification
+
+ [% ELSE %]
+
+ Subscribe to email notification on new issues
+
+ [% END %]
[% ELSE %]
-
- Subscribe to email notification on new issues
-
+ You must log in if you want to subscribe to email notification on new issues
[% END %]
[% END %]
@@ -151,4 +155,4 @@
[% INCLUDE 'opac-bottom.inc' %]
-[% BLOCK jsinclude %][% END %]
\ No newline at end of file
+[% BLOCK jsinclude %][% END %]
--
2.39.5