Added mail template for when GradingRecords are proccessed.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 14 Jul 2009 18:28:33 +0200
changeset 2646 f1e7cf929d02
parent 2645 a7e263a86209
child 2647 69ac7307bb50
Added mail template for when GradingRecords are proccessed.
app/soc/templates/soc/grading_record/mail/result.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/templates/soc/grading_record/mail/result.html	Tue Jul 14 18:28:33 2009 +0200
@@ -0,0 +1,41 @@
+{% extends "soc/mail/base.html" %}
+{% comment %}
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+
+{% block content %}
+<p>
+We have processed the evaluation for your project named {{ project.title }} with {{ organization.name }}.
+</p>
+
+<p>
+{% ifequal grading_record.grade_decision "pass" %}
+  Congratulations, from our data it seems that you have successfully passed the {{ survey_group.name }}.
+{% endifequal %}
+
+{% ifequal grading_record.grade_decision "fail" %}
+  From our data it seems that you have not passed the {{ survey_group.name }}.
+  This is either due to your mentor failing you or due to a missing evaluation from you, the student.
+{% endifequal %}
+
+{% ifequal grading_record.grade_decision "undecided" %}
+  From our data it seems that it is not possible to evaluate your project at this time for the {{ survey_group.name }}.
+  Please contact the program administrator as soon as possible.
+{% endifequal %}
+</p>
+{% endblock %}
+
+{% block signature %}
+Greetings, <br />
+The {{ site_name }} Team
+{% endblock %}