# HG changeset patch # User Lennard de Rijk # Date 1247588913 -7200 # Node ID f1e7cf929d026559548e97703e54017f7536c41e # Parent a7e263a8620934dc276a71c63d7eb69d4404be03 Added mail template for when GradingRecords are proccessed. diff -r a7e263a86209 -r f1e7cf929d02 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 %} +

+We have processed the evaluation for your project named {{ project.title }} with {{ organization.name }}. +

+ +

+{% 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 %} +

+{% endblock %} + +{% block signature %} +Greetings,
+The {{ site_name }} Team +{% endblock %}