app/soc/templates/soc/student_proposal/public.html
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 08 Mar 2009 12:27:42 +0000
changeset 1738 452f16ebe8d2
parent 1465 f3805525efda
child 1741 0da1285f5bc0
permissions -rw-r--r--
Proposal public page now properly renders HTML content. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1423
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
{% extends "soc/base.html" %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
{% comment %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
Licensed under the Apache License, Version 2.0 (the "License");
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
you may not use this file except in compliance with the License.
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
You may obtain a copy of the License at
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
  http://www.apache.org/licenses/LICENSE-2.0
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
Unless required by applicable law or agreed to in writing, software
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
distributed under the License is distributed on an "AS IS" BASIS,
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
See the License for the specific language governing permissions and
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
limitations under the License.
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
{% endcomment %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
{% load forms_helpers %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
{% block header_title %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
{{ page_name }} "{{ entity.title }}" from {{ student_name }}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    19
{% endblock %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    20
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    21
{% block body %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    22
<p>
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    23
 <table>
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    24
  {% readonly_field_as_table_row entity.fields.title.label entity.title %}
1465
f3805525efda Updated student proposal templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1423
diff changeset
    25
  {% readonly_field_as_table_row "Student" student_name %}
f3805525efda Updated student proposal templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1423
diff changeset
    26
  {% readonly_field_as_table_row "Mentor" mentor_name %}
1423
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    27
  {% readonly_field_as_twoline_table_row entity.fields.abstract.label entity.abstract %}
1738
452f16ebe8d2 Proposal public page now properly renders HTML content.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 1465
diff changeset
    28
  {% readonly_safe_field_as_twoline_table_row entity.fields.content.label entity.content %}
1423
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    29
  {% readonly_field_as_table_row "Created on" entity.created_on %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    30
  {% readonly_field_as_table_row "Last Modified on" entity.last_modified_on %}
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    31
 </table>
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    32
</p>
54960277c85d Added student proposal view templates.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    33
{% endblock %}