app/soc/templates/soc/templatetags/_as_student_proposal_review.html
changeset 1897 634617545037
child 1916 71b3f3521a10
equal deleted inserted replaced
1896:b99f448e983e 1897:634617545037
       
     1 {% comment %}
       
     2 Licensed under the Apache License, Version 2.0 (the "License");
       
     3 you may not use this file except in compliance with the License.
       
     4 You may obtain a copy of the License at
       
     5 
       
     6   http://www.apache.org/licenses/LICENSE-2.0
       
     7 
       
     8 Unless required by applicable law or agreed to in writing, software
       
     9 distributed under the License is distributed on an "AS IS" BASIS,
       
    10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    11 See the License for the specific language governing permissions and
       
    12 limitations under the License.
       
    13 {% endcomment %}
       
    14 
       
    15 <li class="studentproposalreview">
       
    16 {% if from_student %}
       
    17   <div class="student">
       
    18 {% else %}
       
    19   <div class="other">
       
    20 {% endif %}
       
    21 On {{ created|date:"jS F Y H:i" }}
       
    22 {% if is_public %}
       
    23 {{ author }} wrote:
       
    24 {% else %}
       
    25 {{ author }} gave a score of <b>{{ score }}</b> and wrote:
       
    26 {% endif %}
       
    27 <p>{{ content|safe }}</p>
       
    28 </div>
       
    29 </li>