Only show lock warns if subscriber is set.

Should be handled by loading the actual data in the background.
agranig/1_0_subfix
Andreas Granig 12 years ago
parent 66a708ea36
commit aa33e91147

@ -13,10 +13,10 @@
[% FOREACH m IN messages -%] [% FOREACH m IN messages -%]
<div class="alert alert-[% m.type %]">[% m.text %]</div> <div class="alert alert-[% m.type %]">[% m.text %]</div>
[% END -%] [% END -%]
[% IF subscriber.status != "active" -%] [% IF subscriber && subscriber.status != "active" -%]
<div class="alert">Subscriber status is <b>[% subscriber.status %]</b></div> <div class="alert">Subscriber status is <b>[% subscriber.status %]</b></div>
[% END -%] [% END -%]
[% IF prov_lock_string != "none" -%] [% IF prov_lock_string && prov_lock_string != "none" -%]
<div class="alert">Subscriber is locked for <b>[% prov_lock_string %]</b></div> <div class="alert">Subscriber is locked for <b>[% prov_lock_string %]</b></div>
[% END -%] [% END -%]
</div> </div>

Loading…
Cancel
Save