Added two new templates for use in StudentProject views.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 07 Apr 2009 08:43:50 +0000
changeset 2113 edc9b84629a7
parent 2112 9a2c9354468c
child 2114 1b3830abcdf7
Added two new templates for use in StudentProject views. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/templates/soc/student_project/edit.html
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/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
--- /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