app/soc/templates/soc/student_project/manage.html
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 30 Jul 2009 09:53:22 +0200
changeset 2688 dfe0439a0711
parent 2279 e31414fd3b2a
child 2690 730676c00907
permissions -rw-r--r--
Added list of Surveys to the Project's manage page. This list will show wether or not a Survey has been taken and will also feature links to (re)take a Survey and in the near future to see the actual SurveyRecord. Note that the take Survey link is working however Org Admins will receive an access denied message when following this link.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    23
<b>Primary Mentor</b><br />
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    24
In this section you can assign a new Primary Mentor.
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    25
Note that if you select a co-Mentor from this list that Mentor will be removed from the co-Mentors.
2278
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    26
<form method="POST">
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    27
  <table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    28
    {% as_table mentor_edit_form %}
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    29
  </table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    30
  <table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    31
  <tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    32
   <td colspan="4">&nbsp;</td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    33
  </tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    34
  <tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    35
    <td> 
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    36
      <input style="font-weight: bold" type="submit" value="Submit" name="set_mentor"/></span>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    37
    </td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    38
    <td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    39
      <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    40
    </td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    41
  </tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    42
 </table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    43
</form>
2688
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    44
</p>
2278
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    45
2688
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    46
<p>
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    47
<b>Co-Mentors</b><br/>
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    48
In this section you can add/remove co-mentors for this project.
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    49
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
    50
<table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    51
  {% for mentor in additional_mentors %}
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    52
    <tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    53
      <td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    54
        {{ mentor.name }}
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    55
      </td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    56
      <td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    57
        <input type="button" onclick="location.href='?remove={{ mentor.link_id }}'" value="Remove"/>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    58
      </td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    59
  {% endfor %}
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    60
</table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    61
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    62
<form method="POST">
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    63
  <table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    64
    {% as_table additional_mentor_form %}
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    65
  </table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    66
  <table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    67
  <tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    68
   <td colspan="4">&nbsp;</td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    69
  </tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    70
  <tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    71
    <td> 
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    72
      <input style="font-weight: bold" type="submit" value="Add" name="add_additional_mentor"/></span>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    73
    </td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    74
    <td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    75
      <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    76
    </td>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    77
  </tr>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    78
 </table>
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    79
</form>
2688
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    80
</p>
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    81
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    82
<p>
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    83
<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
    84
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
    85
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
    86
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    87
{% 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
    88
  {% 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
    89
    <p>
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    90
      {% include list.nextList %}
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    91
    </p>
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    92
  {% endfor %}
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    93
{% endwith %}
dfe0439a0711 Added list of Surveys to the Project's manage page.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2279
diff changeset
    94
</p>
2278
c4d40ab98f71 Added functionality to set additional mentors for a Student Project.
Lennard de Rijk
parents: 2113
diff changeset
    95
{% endblock %}