app/soc/templates/soc/student_proposal/review_after_deadline.html
changeset 2258 280d2cf745f2
equal deleted inserted replaced
2257:7c0af7e05257 2258:280d2cf745f2
       
     1 {% extends "soc/base.html" %}
       
     2 {% comment %}
       
     3 Licensed under the Apache License, Version 2.0 (the "License");
       
     4 you may not use this file except in compliance with the License.
       
     5 You may obtain a copy of the License at
       
     6 
       
     7   http://www.apache.org/licenses/LICENSE-2.0
       
     8 
       
     9 Unless required by applicable law or agreed to in writing, software
       
    10 distributed under the License is distributed on an "AS IS" BASIS,
       
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    12 See the License for the specific language governing permissions and
       
    13 limitations under the License.
       
    14 {% endcomment %}
       
    15 {% load comments_helpers %}
       
    16 {% load forms_helpers %}
       
    17 
       
    18 {% block header_title %}
       
    19 {{ page_name }} (Score: {{ entity.score }})
       
    20 {% endblock %}
       
    21 
       
    22 {% block body %}
       
    23 <p>
       
    24  <table>
       
    25   {% readonly_field_as_table_row entity.fields.title.label entity.title %}
       
    26   {% readonly_field_as_table_row "Student" student_name %}
       
    27   {% readonly_field_as_table_row "Mentor" mentor_name %}
       
    28   {% readonly_field_as_table_row "Possible Mentors" possible_mentors %}
       
    29   {% readonly_field_as_table_row entity.fields.abstract.label entity.abstract %}
       
    30   {% readonly_safe_field_as_table_row entity.fields.content.label entity.content %}
       
    31   {% readonly_url_field_as_table_row entity.fields.additional_info.label entity.additional_info %}
       
    32   {% readonly_field_as_table_row "Created on" entity.created_on %}
       
    33   {% readonly_field_as_table_row "Last Modified on" entity.last_modified_on %}
       
    34  </table>
       
    35 </p>
       
    36 
       
    37 <hr />
       
    38 <b>Summary of Reviews</b>:
       
    39 {% for key, value in review_summary.items %}
       
    40     <li>{{ value.name }} ({{ value.total_comments }} posts, {{ value.total_score }} points)</li>
       
    41 {% endfor %}
       
    42 
       
    43 <hr />
       
    44 
       
    45 
       
    46 <hr />
       
    47 <b>Public Reviews</b>
       
    48 {% for review in public_reviews %}
       
    49   {% as_student_proposal_review review student %}
       
    50 {% endfor %}
       
    51 <hr />
       
    52 <b>Private Reviews</b>
       
    53 {% for review in private_reviews %}
       
    54   {% as_student_proposal_review review student %}
       
    55 {% endfor %}
       
    56 <hr />
       
    57 
       
    58 {% endblock %}