[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 97e134a859c2c0cc876f1501a06d9b5ef74fa12d
Evergreen Git
git at git.evergreen-ils.org
Wed Jul 10 10:12:55 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_3 has been updated
via 97e134a859c2c0cc876f1501a06d9b5ef74fa12d (commit)
from 67709f49e64df49da26f22f7439db5661324564d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 97e134a859c2c0cc876f1501a06d9b5ef74fa12d
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date: Mon May 27 12:02:38 2013 +0300
LP1183414: OPAC patron opt-in settings table does not work correctly
Fix the template logic error, trying to use a variable before
it is defined.
Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
Signed-off-by: Bill Erickson <berick at esilibrary.com>
diff --git a/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2 b/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
index fcd9f47..4f70bb0 100644
--- a/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
+++ b/Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
@@ -68,16 +68,17 @@
[% END %]
</tbody>
</table>
-
- <table>
+
+ <div class='user_opt_in_settings'>
+ [% IF ctx.opt_in_settings.size == 0 %]
+ <strong>[% l('No notification preferences are configured') %]</strong>
+ [% ELSE %]
+ <table>
<thead><tr>
<th>[% l('Notification Type') %]</th>
<th>[% l('Enabled') %]</th>
</tr></thead>
<tbody class='data_grid'>
- [% IF optin.size == 0 %]
- <strong>[% l('No notification preferences are configured') %]</strong>
- [% END %]
[% FOR optin IN ctx.opt_in_settings %]
<tr>
<td>[% optin.cust.label | html %]</td>
@@ -89,7 +90,9 @@
</tr>
[% END %]
</tbody>
- </table>
+ </table>
+ [% END %]
+ </div>
<input type='submit' value="[% l('Save') %]" alt="[% l('Save') %]" class="opac-button" />
</form>
[% END %]
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/opac/myopac/prefs_notify.tt2 | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list