# HG changeset patch # User Lennard de Rijk # Date 1236439146 0 # Node ID e39ae44d02989d6014b413c710590cf15f510d58 # Parent 30c6322b93c118307febfdd88146a4e7cf79830c Added new template tag for a review. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 30c6322b93c1 -r e39ae44d0298 app/soc/templates/soc/templatetags/_as_review.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/soc/templatetags/_as_review.html Sat Mar 07 15:19:06 2009 +0000 @@ -0,0 +1,23 @@ +{% 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 %} + +
  • +On {{ created|date:"jS F Y H:i" }} +{% if is_public %} +{{ author }} wrote: +{% else %} +{{ author }} gave a score of {{ score }} and wrote: +{% endif %} +

    {{ content|safe }}

    +