Finished support for triggered campaigns. So far only smoke-tested for subscription trigger.

This commit is contained in:
Tomas Bures 2018-11-21 01:41:10 +03:00
parent 4f5b2d10e4
commit b37ad9863c
56 changed files with 416 additions and 213 deletions

View file

@ -12,21 +12,21 @@
<input type="hidden" name="address" value="">
<input type="hidden" class="sub-time" name="sub" value="">
{{> subscription_custom_fields}}
<button type="submit">{{#translate}}Subscribe to list{{/translate}}</button>
<button type="submit">Subscribe to list</button>
</form>
<div class="status"></div>
<div style="display: none;">
<div class="spinner" data-status-template="spinner">
<p>{{#translate}}Sending ...{{/translate}}</p>
<p>Sending ...</p>
</div>
<div class="info" data-status-template="already-subscribed">
<p>{{#translate}}It looks like you are already subscribed to this list.{{/translate}}</p>
<p>It looks like you are already subscribed to this list.</p>
</div>
<div class="success" data-status-template="confirm-notice">
<h4>{{#translate}}Almost Finished{{/translate}}</h4>
<p>{{#translate}}We need to confirm your email address. To complete the subscription process, please click the link in the email we just sent you.{{/translate}}</p>
<h4>Almost Finished</h4>
<p>We need to confirm your email address. To complete the subscription process, please click the link in the email we just sent you.</p>
</div>
<div class="error" data-status-template="error">
<p>{message}</p>