author | Lennard de Rijk <ljvderijk@gmail.com> |
Mon, 10 Aug 2009 15:14:29 -0700 | |
changeset 2743 | b9a146acb9bb |
parent 2690 | 730676c00907 |
permissions | -rw-r--r-- |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
1 |
{% extends "soc/base.html" %} |
2113
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
2 |
{% comment %} |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
4 |
you may not use this file except in compliance with the License. |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
5 |
You may obtain a copy of the License at |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
6 |
|
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
8 |
|
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
9 |
Unless required by applicable law or agreed to in writing, software |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
12 |
See the License for the specific language governing permissions and |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
13 |
limitations under the License. |
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
14 |
{% endcomment %} |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
15 |
{% load forms_helpers %} |
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
16 |
|
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
17 |
{% block body %} |
2113
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
18 |
{% block instructions %} |
2688
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
19 |
Use this page to manage the Student Project. You can (re)assign Mentors here and check the status of the evaluations. |
2113
edc9b84629a7
Added two new templates for use in StudentProject views.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
20 |
{% endblock %} |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
21 |
|
2688
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
22 |
<p> |
2690
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
23 |
<table> |
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
24 |
{% readonly_field_as_table_row "Student Name" entity.student.name %} |
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
25 |
{% readonly_field_as_table_row "Mentor Name" entity.mentor.name %} |
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
26 |
{% readonly_field_as_table_row entity.fields.title.label entity.title %} |
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
27 |
{% readonly_field_as_table_row entity.fields.abstract.label entity.abstract %} |
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
28 |
</table> |
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
29 |
</p> |
730676c00907
Added project information to the Project manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2688
diff
changeset
|
30 |
|
2743
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
31 |
{% ifequal entity.status "accepted" %} |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
32 |
<p> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
33 |
<b>Primary Mentor</b><br /> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
34 |
In this section you can assign a new Primary Mentor. |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
35 |
Note that if you select a co-Mentor from this list that Mentor will be removed from the co-Mentors. |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
36 |
<form method="POST"> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
37 |
<table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
38 |
{% as_table mentor_edit_form %} |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
39 |
</table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
40 |
<table> |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
41 |
<tr> |
2743
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
42 |
<td colspan="4"> </td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
43 |
</tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
44 |
<tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
45 |
<td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
46 |
<input style="font-weight: bold" type="submit" value="Submit" name="set_mentor"/></span> |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
47 |
</td> |
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
48 |
<td> |
2743
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
49 |
<input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)"> |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
50 |
</td> |
2743
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
51 |
</tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
52 |
</table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
53 |
</form> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
54 |
</p> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
55 |
|
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
56 |
<p> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
57 |
<b>Co-Mentors</b><br/> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
58 |
In this section you can add/remove co-mentors for this project. |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
59 |
Co-mentors usually play a vital role in the success of a project, however they are not responsible for taking evaluations. |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
60 |
<table> |
2743
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
61 |
{% for mentor in additional_mentors %} |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
62 |
<tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
63 |
<td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
64 |
{{ mentor.name }} |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
65 |
</td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
66 |
<td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
67 |
<input type="button" onclick="location.href='?remove={{ mentor.link_id }}'" value="Remove"/> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
68 |
</td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
69 |
{% endfor %} |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
70 |
</table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
71 |
|
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
72 |
<form method="POST"> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
73 |
<table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
74 |
{% as_table additional_mentor_form %} |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
75 |
</table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
76 |
<table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
77 |
<tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
78 |
<td colspan="4"> </td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
79 |
</tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
80 |
<tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
81 |
<td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
82 |
<input style="font-weight: bold" type="submit" value="Add" name="add_additional_mentor"/></span> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
83 |
</td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
84 |
<td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
85 |
<input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)"> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
86 |
</td> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
87 |
</tr> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
88 |
</table> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
89 |
</form> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
90 |
</p> |
b9a146acb9bb
Enable the project management page to be visited for project in other statusses.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2690
diff
changeset
|
91 |
{% endifequal %} |
2688
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
92 |
|
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
93 |
<p> |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
94 |
<b>Evaluations</b><br /> |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
95 |
This section contains the Mentor and Student Evaluations. |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
96 |
From here you can view the Mentor and Student Evaluations and if possible (re)take the evaluations given by your Mentor. |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
97 |
|
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
98 |
{% with evaluation_list as list %} |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
99 |
{% for list_number in list.lists %} |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
100 |
<p> |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
101 |
{% include list.nextList %} |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
102 |
</p> |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
103 |
{% endfor %} |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
104 |
{% endwith %} |
dfe0439a0711
Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
2279
diff
changeset
|
105 |
</p> |
2278
c4d40ab98f71
Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents:
2113
diff
changeset
|
106 |
{% endblock %} |