{% load i18n %}

{% trans "Greetings:" %}<br /><br />
{% blocktrans %}Corporate Membership Notices were distributed on {{ site_display_name }}.{% endblocktrans %}
<br /><br />
{% trans "Total Notices sent:" %} {{ total_sent }}<br>
 
<ol>
{% for notice in notices %}
	<li><a href="{{ site_url }}{% url admin:corporate_memberships_notice_change notice.id %}">{{ notice.notice_name  }}</a></li>
{% endfor %}
</ol>
<br />

{% trans "Recap of Emails Sent:" %}
<br />
<br />
{% for notice in notices %}
	{{ notice.num_days }} day(s) {{ notice.notice_time }} {{ notice.notice_type }} - 
	{{ site_url }}{% url admin:corporate_memberships_notice_change notice.id %}
	<br />
	
	{% if notice.log.num_sent <= 50 %}
		<ol>
		{% for corporate in notice.corporate_members_sent %}
			<li>{{ corporate.corp_profile.name }} - {{ site_url }}{% url corpmembership.view corporate.id %}</li>
		{% endfor %}
		</ol>
		<br />
	{% else %}
		<br /><br />
	{% endif %}	
{% endfor %}

{% trans "Thanks!" %}
<br /><br />

<P>{% trans "Time submitted:" %} {% now "D d M Y P" %}</P>

<p align="center">
{% blocktrans %}
This e-mail was generated by Tendenci&reg; Software - a web based membership management software solution
<a href="http://www.tendenci.com">www.tendenci.com</a> developed by <a href="http://schipul.com">Schipul - The Web Marketing Company</a>
{% endblocktrans %}
</p>

