~ubuntu-branches/ubuntu/precise/grantlee/precise

« back to all changes in this revision

Viewing changes to examples/books/themes/simple.html

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2010-06-11 23:41:45 UTC
  • Revision ID: james.westby@ubuntu.com-20100611234145-oas7rhdrbwy8j55c
Tags: upstream-0.1.1
ImportĀ upstreamĀ versionĀ 0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base.html" %}
 
2
 
 
3
{% block document_title %}{{ block.super }} - Simple style{% endblock %}
 
4
{% block page_title %}{{ block.super }} - Simple style{% endblock %}
 
5
 
 
6
{% block book_rows %}
 
7
  {% for book in books %}
 
8
    <tr><td>{{ book.author }}</td><td>{{ book.title }}</td><td>{{ book.genre }}</td><td>{% range book.rating %}<img src="{% media_finder "star.png" %}" />{% endrange %}</td></tr>
 
9
  {% empty %}
 
10
    <tr><td colspan="4" >No Books here!</td></tr>
 
11
  {% endfor %}
 
12
{% endblock %}