app/soc/templates/soc/templatetags/_as_student_proposal_review.html
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 16 Mar 2009 21:17:04 +0000
changeset 1897 634617545037
child 1916 71b3f3521a10
permissions -rw-r--r--
Added a new template tag to serve up background color for StudentProposals Reviews. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1897
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
{% comment %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
Licensed under the Apache License, Version 2.0 (the "License");
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
you may not use this file except in compliance with the License.
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
You may obtain a copy of the License at
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
  http://www.apache.org/licenses/LICENSE-2.0
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
Unless required by applicable law or agreed to in writing, software
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
distributed under the License is distributed on an "AS IS" BASIS,
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
See the License for the specific language governing permissions and
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
limitations under the License.
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
{% endcomment %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
<li class="studentproposalreview">
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
{% if from_student %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
  <div class="student">
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
{% else %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    19
  <div class="other">
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    20
{% endif %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    21
On {{ created|date:"jS F Y H:i" }}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    22
{% if is_public %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    23
{{ author }} wrote:
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    24
{% else %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    25
{{ author }} gave a score of <b>{{ score }}</b> and wrote:
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    26
{% endif %}
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    27
<p>{{ content|safe }}</p>
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    28
</div>
634617545037 Added a new template tag to serve up background color for StudentProposals Reviews.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    29
</li>