--- a/app/soc/templates/soc/student_proposal/review.html Sun Apr 05 23:39:36 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/review.html Mon Apr 06 10:11:44 2009 +0000
@@ -123,11 +123,18 @@
</td>
{% endif %}
{% endif %}
- {% if is_org_admin %}
+ {% if is_org_admin or is_mentor %}
+ {% ifequal entity.status "invalid" %}
+ <td>
+ <input style="font-weight: bold" type="button" value="Mark as Eligible"
+ onclick="if (confirm('Are you sure you want to mark this proposal as eligible?')) { location.href='?ineligible=0'; }"/>
+ </td>
+ {% else %}
<td>
<input style="font-weight: bold" type="button" value="Mark as Ineligible"
- onclick="if (confirm('Are you sure? This can not be undone!')) { location.href='?ineligible=1'; }"/>
+ onclick="if (confirm('Are you sure you want to mark this proposal as ineligible?')) { location.href='?ineligible=1'; }"/>
</td>
+ {% endifequal %}
{% endif %}
</tr>
</table>