app/soc/templates/soc/student_project/manage.html
changeset 2743 b9a146acb9bb
parent 2690 730676c00907
equal deleted inserted replaced
2742:53a3c5f4252a 2743:b9a146acb9bb
    26   {% readonly_field_as_table_row entity.fields.title.label entity.title %}
    26   {% readonly_field_as_table_row entity.fields.title.label entity.title %}
    27   {% readonly_field_as_table_row entity.fields.abstract.label entity.abstract %}
    27   {% readonly_field_as_table_row entity.fields.abstract.label entity.abstract %}
    28 </table>
    28 </table>
    29 </p>
    29 </p>
    30 
    30 
    31 <p>
    31 {% ifequal entity.status "accepted" %}
    32 <b>Primary Mentor</b><br />
    32   <p>
    33 In this section you can assign a new Primary Mentor.
    33   <b>Primary Mentor</b><br />
    34 Note that if you select a co-Mentor from this list that Mentor will be removed from the co-Mentors.
    34   In this section you can assign a new Primary Mentor.
    35 <form method="POST">
    35   Note that if you select a co-Mentor from this list that Mentor will be removed from the co-Mentors.
    36   <table>
    36   <form method="POST">
    37     {% as_table mentor_edit_form %}
    37     <table>
    38   </table>
    38       {% as_table mentor_edit_form %}
    39   <table>
    39     </table>
    40   <tr>
    40     <table>
    41    <td colspan="4">&nbsp;</td>
       
    42   </tr>
       
    43   <tr>
       
    44     <td> 
       
    45       <input style="font-weight: bold" type="submit" value="Submit" name="set_mentor"/></span>
       
    46     </td>
       
    47     <td>
       
    48       <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
       
    49     </td>
       
    50   </tr>
       
    51  </table>
       
    52 </form>
       
    53 </p>
       
    54 
       
    55 <p>
       
    56 <b>Co-Mentors</b><br/>
       
    57 In this section you can add/remove co-mentors for this project.
       
    58 Co-mentors usually play a vital role in the success of a project, however they are not responsible for taking evaluations.
       
    59 <table>
       
    60   {% for mentor in additional_mentors %}
       
    61     <tr>
    41     <tr>
    62       <td>
    42      <td colspan="4">&nbsp;</td>
    63         {{ mentor.name }}
    43     </tr>
       
    44     <tr>
       
    45       <td> 
       
    46         <input style="font-weight: bold" type="submit" value="Submit" name="set_mentor"/></span>
    64       </td>
    47       </td>
    65       <td>
    48       <td>
    66         <input type="button" onclick="location.href='?remove={{ mentor.link_id }}'" value="Remove"/>
    49         <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
    67       </td>
    50       </td>
    68   {% endfor %}
    51     </tr>
    69 </table>
    52    </table>
    70 
    53   </form>
    71 <form method="POST">
    54   </p>
       
    55   
       
    56   <p>
       
    57   <b>Co-Mentors</b><br/>
       
    58   In this section you can add/remove co-mentors for this project.
       
    59   Co-mentors usually play a vital role in the success of a project, however they are not responsible for taking evaluations.
    72   <table>
    60   <table>
    73     {% as_table additional_mentor_form %}
    61     {% for mentor in additional_mentors %}
       
    62       <tr>
       
    63         <td>
       
    64           {{ mentor.name }}
       
    65         </td>
       
    66         <td>
       
    67           <input type="button" onclick="location.href='?remove={{ mentor.link_id }}'" value="Remove"/>
       
    68         </td>
       
    69     {% endfor %}
    74   </table>
    70   </table>
    75   <table>
    71   
    76   <tr>
    72   <form method="POST">
    77    <td colspan="4">&nbsp;</td>
    73     <table>
    78   </tr>
    74       {% as_table additional_mentor_form %}
    79   <tr>
    75     </table>
    80     <td> 
    76     <table>
    81       <input style="font-weight: bold" type="submit" value="Add" name="add_additional_mentor"/></span>
    77     <tr>
    82     </td>
    78      <td colspan="4">&nbsp;</td>
    83     <td>
    79     </tr>
    84       <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
    80     <tr>
    85     </td>
    81       <td> 
    86   </tr>
    82         <input style="font-weight: bold" type="submit" value="Add" name="add_additional_mentor"/></span>
    87  </table>
    83       </td>
    88 </form>
    84       <td>
    89 </p>
    85         <input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
       
    86       </td>
       
    87     </tr>
       
    88    </table>
       
    89   </form>
       
    90   </p>
       
    91 {% endifequal %}
    90 
    92 
    91 <p>
    93 <p>
    92 <b>Evaluations</b><br />
    94 <b>Evaluations</b><br />
    93 This section contains the Mentor and Student Evaluations.
    95 This section contains the Mentor and Student Evaluations.
    94 From here you can view the Mentor and Student Evaluations and if possible (re)take the evaluations given by your Mentor.
    96 From here you can view the Mentor and Student Evaluations and if possible (re)take the evaluations given by your Mentor.