Lines 22-27
Link Here
|
22 |
[% FOREACH messaging_preference IN messaging_preferences %] |
22 |
[% FOREACH messaging_preference IN messaging_preferences %] |
23 |
[% NEXT IF !Koha.Preference( 'ILLModule' ) && messaging_preference.message_name.match('^Ill_') %] |
23 |
[% NEXT IF !Koha.Preference( 'ILLModule' ) && messaging_preference.message_name.match('^Ill_') %] |
24 |
[% NEXT IF !Koha.Preference('MembershipExpiryDaysNotice') && messaging_preference.Patron_Expiry %] |
24 |
[% NEXT IF !Koha.Preference('MembershipExpiryDaysNotice') && messaging_preference.Patron_Expiry %] |
|
|
25 |
[% NEXT IF messaging_preference.Patron_Expiry && (category.enforce_expiry_notice || patron.category.enforce_expiry_notice) %] |
25 |
[% NEXT IF messaging_preference.Auto_Renewals && Koha.Preference('AutoRenewalNotices') != 'preferences' %] |
26 |
[% NEXT IF messaging_preference.Auto_Renewals && Koha.Preference('AutoRenewalNotices') != 'preferences' %] |
26 |
[% NEXT IF !Koha.Preference('UseRecalls') && messaging_preference.message_name.match('^Recall_') %] |
27 |
[% NEXT IF !Koha.Preference('UseRecalls') && messaging_preference.message_name.match('^Recall_') %] |
27 |
<tr id="[% messaging_preference.message_name _ "_message" | lower | html %]"> |
28 |
<tr id="[% messaging_preference.message_name _ "_message" | lower | html %]"> |
Lines 43-49
Link Here
|
43 |
<span>Item checkout</span> |
44 |
<span>Item checkout</span> |
44 |
[% END %] |
45 |
[% END %] |
45 |
[% ELSIF ( messaging_preference.Patron_Expiry ) %] |
46 |
[% ELSIF ( messaging_preference.Patron_Expiry ) %] |
46 |
<span>Patron account expiry</span> |
47 |
<span>Patron expiry</span> |
47 |
[% ELSIF ( messaging_preference.Ill_ready ) %] |
48 |
[% ELSIF ( messaging_preference.Ill_ready ) %] |
48 |
<span>Interlibrary loan ready</span> |
49 |
<span>Interlibrary loan ready</span> |
49 |
[% ELSIF ( messaging_preference.Ill_unavailable ) %] |
50 |
[% ELSIF ( messaging_preference.Ill_unavailable ) %] |
Lines 62-76
Link Here
|
62 |
</td> |
63 |
</td> |
63 |
[% IF ( messaging_preference.takes_days ) %] |
64 |
[% IF ( messaging_preference.takes_days ) %] |
64 |
<td> |
65 |
<td> |
65 |
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS" [% IF messaging_form_inactive %]disabled="disabled"[% END %]> |
66 |
[% IF ( messaging_form_inactive ) %] |
66 |
[% FOREACH select_day IN messaging_preference.select_days %] |
67 |
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS" disabled="disabled"> |
67 |
[% IF ( select_day.selected ) %] |
68 |
[% FOREACH select_day IN messaging_preference.select_days %] |
68 |
<option value="[% select_day.day | html %]" selected="selected">[% select_day.day | html %]</option> |
69 |
[% IF ( select_day.selected ) %] |
69 |
[% ELSE %] |
70 |
<option value="[% select_day.day | html %]" selected="selected">[% select_day.day | html %]</option> |
70 |
<option value="[% select_day.day | html %]">[% select_day.day | html %]</option> |
71 |
[% ELSE %] |
|
|
72 |
<option value="[% select_day.day | html %]">[% select_day.day | html %]</option> |
73 |
[% END %] |
71 |
[% END %] |
74 |
[% END %] |
72 |
[% END %] |
75 |
</select> |
73 |
</select> |
76 |
[% ELSE %] |
|
|
77 |
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS"> |
78 |
[% FOREACH select_day IN messaging_preference.select_days %] |
79 |
[% IF ( select_day.selected ) %] |
80 |
<option value="[% select_day.day | html %]" selected="selected">[% select_day.day | html %]</option> |
81 |
[% ELSE %] |
82 |
<option value="[% select_day.day | html %]">[% select_day.day | html %]</option> |
83 |
[% END %] |
84 |
[% END %] |
85 |
</select> |
86 |
[% END %] |
74 |
</td> |
87 |
</td> |
75 |
[% ELSE %] |
88 |
[% ELSE %] |
76 |
<td>-</td> |
89 |
<td>-</td> |