email from group page
This commit is contained in:
@@ -72,6 +72,19 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
{% if team.manager == user %}
|
||||
<h2>Message</h2>
|
||||
<p>Use this form to send a message to all team members by email. </p>
|
||||
<form enctype="multipart/form-date" action="" method="post">
|
||||
<table>
|
||||
{{ groupmessageform.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Send">
|
||||
</form>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
14
rowers/templates/teammessage.html
Normal file
14
rowers/templates/teammessage.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends "emailbase.html" %}
|
||||
|
||||
{% block body %}
|
||||
<p>Dear <strong>{{ first_name }}</strong>,</p>
|
||||
|
||||
<p>
|
||||
Here is a message from {{ managername }}, the team manager of rowsandall.com team {{ teamname }}.
|
||||
</p>
|
||||
<p>
|
||||
<code>
|
||||
{{ message }}
|
||||
</code>
|
||||
</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user