# HG changeset patch # User Lennard de Rijk # Date 1239093830 0 # Node ID edc9b84629a70853853a6e1fac7a9fffb51b94bb # Parent 9a2c9354468ca49cda3c0b7db75b40318f34b194 Added two new templates for use in StudentProject views. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 9a2c9354468c -r edc9b84629a7 app/soc/templates/soc/student_project/edit.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/soc/student_project/edit.html Tue Apr 07 08:43:50 2009 +0000 @@ -0,0 +1,19 @@ +{% extends "soc/models/edit.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 delete_button %} +{% if is_admin %} + {{ block.super }} +{% endif %} +{% endblock %} \ No newline at end of file diff -r 9a2c9354468c -r edc9b84629a7 app/soc/templates/soc/student_project/manage.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/soc/student_project/manage.html Tue Apr 07 08:43:50 2009 +0000 @@ -0,0 +1,19 @@ +{% extends "soc/models/edit.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 instructions %} +Please use this form to change the Mentor for the {{ entity_type }}. +{% endblock %} +{% block delete_button %} +{% endblock %} \ No newline at end of file