Updated the accepted organization email for GSoC 2009.
authorLennard de Rijk <ljvderijk@gmail.com>
Sun, 15 Mar 2009 14:53:00 +0000
changeset 1868 6847be02943a
parent 1867 09e3771fc096
child 1869 9552c2499201
Updated the accepted organization email for GSoC 2009. Left a TODO to use a proper template. Issue 200 addresses a possible solution. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/templates/soc/org_app/mail/accepted_gsoc2009.html
app/soc/views/models/org_app.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/templates/soc/org_app/mail/accepted_gsoc2009.html	Sun Mar 15 14:53:00 2009 +0000
@@ -0,0 +1,46 @@
+{% 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>
+  Your organization application for {{ program_name }} has been
+  accepted. Please take a moment *now* to log in to
+  {{ HTTP_host }} and review your Notifications (accessible in the
+  left hand navigation menu). You will need to follow the instructions
+  provided there to finish updating your organization's profile and to create
+  a home page for your organization on {{ HTTP_host }}. These changes
+  must be taken care of *immediately* so that student applicants have access
+  to the necessary information they'll require to review your organization
+  before applying.
+</p>
+
+<p>
+  For full instructions on how to create a home page and best practices for creating it, please see our User's 
+  Guide at http://socghop.appspot.com/document/show/program/google/gsoc2009/userguide
+</p>
+
+<p>
+  It is worth taking a look at the in-depth documentation for tips even if you are familiar with the program or a 
+  past participant.<br />
+  You will now also be able to review and accept mentor applications for your
+  organization.
+</p>
+
+Congratulations! We look forward to having you with us for {{ program_name }}.
+{% endblock %}
+
+{% block signature %}
+  Best regards, <br />{{ sender_name }}
+{% endblock %}
--- a/app/soc/views/models/org_app.py	Sun Mar 15 14:14:13 2009 +0000
+++ b/app/soc/views/models/org_app.py	Sun Mar 15 14:53:00 2009 +0000
@@ -141,7 +141,8 @@
     new_params['group_url_name'] = 'org'
 
     new_params['review_template'] = 'soc/org_app/review.html'
-    new_params['accepted_mail_template'] = 'soc/org_app/mail/accepted.html'
+    # TODO use a proper template that works for each program
+    new_params['accepted_mail_template'] = 'soc/org_app/mail/accepted_gsoc2009.html'
     new_params['rejected_mail_template'] = 'soc/org_app/mail/rejected.html'
 
     params = dicts.merge(params, new_params)