{% extends "newsletters/base.html" %} {% load base_filters %} {% block title %} {{ block.super }}{% trans 'Tendenci Newsletter Generator - Marketing Action'%} {% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

  {{ newsletter.actionname }}

   {{ object.email.sender }}

  {{ object.email.subject }}

{% trans 'View Newsletter' %} {% trans 'Edit Newsletter Contents' %}

   {% if not object.member_only and object.group %} {{ object.group }} {% endif %}

{% trans "Skip members that have opted for Don't Send Email in their profile:" %} {% if object.enforce_direct_mail_flag %}{% trans 'Yes' %} {% else %}{% trans 'No' %}{% endif %}

{% trans 'Confirm acceptance of site policies and common sense.' %}


{% if object.member_only %} {% blocktrans %} I agree that I have permission from all users of the user group to send them e-mail. I understand that by sending this e-mail the transaction, including my IP address, is recorded. Furthermore I am legally bound by common courtesy, common sense, and the acceptable use policy (aup) and privacy policy of this site. {% endblocktrans %} {% else %} {% blocktrans with group=object.group.name %} I agree that I have permission from all users of the {{ group }} user group to send them e-mail. I understand that by sending this e-mail the transaction, including my IP address, is recorded. Furthermore I am legally bound by common courtesy, common sense, and the acceptable use policy (aup) and privacy policy of this site. {% endblocktrans %} {% endif %}{% if object.sla %}

   {% trans 'Agreed' %}

{% endif %}

{% trans 'Send Email' %}

{% blocktrans %}

Note: This could take up to 30 minutes or longer depending on the size of your distribution list.

{% endblocktrans %} {% if schedule_enabled and object.schedule %}
{% if object.schedule_type == "O" %} {% trans 'Scheduled to Run On: ' %}{{ object.schedule_send_dt|date }} {% else %}

{% trans 'Schedule Details:' %}

{% trans 'Initial Start Date/Time' %} {% trans 'Frequency' %} {% trans 'Repeats' %}
{{ object.schedule_send_dt }} {{ object.schedule_type_verbose }} {% if object.repeats == -1 %}{% trans 'Forever' %}{% else %}{{ object.repeats }}{% endif %}
{% with object.recurring_data.all as recurring_items %} {% if recurring_items %}

{% trans 'Process Results:' %}

{% for item in recurring_items %} {% endfor %}
{% trans 'Start Date/Time' %} {% trans 'Finish Date/Time' %} {% trans 'Email Count' %} {% trans 'Status' %}
{{ item.start_dt }} {{ item.finish_dt }} {{ item.email_sent_count }} {{ item.send_status }}
{% endif %} {% endwith %}
{% trans 'Total remaining runs:' %} {% if object.total_runs_left == -1 %} {% trans 'unlimited' %} {% else %} {{ object.total_runs_left }} {% endif %} {% if object.total_runs_left != 0 %}    {% trans 'Cancel' %}
{% csrf_token %}
{% endif %}
{% endif %}
{% endif %} {% if not object.schedule or object.schedule_type == "O" %}

   {{ object.send_status }}
{% if object.send_status == 'sent' or object.send_status == 'resent' %}

{% trans "The e-mail has completed processing - all e-mails have been distributed." %}

{% endif %}

{% if object.send_status == 'sent' or object.send_status == 'resent' %}

{% trans 'Total E-mail Sent' %}: {{ object.email_sent_count }}

{% trans 'E-mails completed sending at' %}: {{ object.date_email_sent }}

{% if object.date_last_resent %}

{% trans 'Date of last resent' %}: {{ object.date_last_resent }}

{% trans 'Resent Count' %}: {{ object.resend_count }} {% endif %}

{% endif %} {% endif %}

{% trans 'Date Created' %}: {{ object.date_created }}   {% trans 'Date Submitted' %}: {{ object.date_submitted }}

{% if object.send_status == 'resending' or object.send_status == 'sending' or object.send_status == 'queued' %}

{% trans "Kindly refresh this page or wait for the confirmation email to check the status of your newsletter." %}

{% endif %} {% if not object.schedule or object.schedule_type == "O" %} {% endif %}
{% endblock %} {% block extra_body %} {{ block.super }} {% if not object.schedule or object.schedule_type == "O" %} {% endif %} {% if object.total_runs_left != 0 %} {% endif %} {% endblock %}