]>
Commit | Line | Data |
---|---|---|
26235f08 MF |
1 | {% extends "base_generic.html" %} |
2 | ||
3 | {% block content %} | |
4 | <h1>Customer data</h1> | |
5 | ||
6 | {% if bookinstance_list %} | |
7 | <ul> | |
8 | ||
9 | {% for bookinst in bookinstance_list %} | |
10 | <li class="{% if bookinst.is_overdue %}text-danger{% endif %}"> | |
11 | <a href="{% url 'book-detail' bookinst.book.pk %}">{{bookinst.book.title}}</a> ({{ bookinst.due_back }}) | |
12 | </li> | |
13 | {% endfor %} | |
14 | </ul> | |
15 | ||
16 | {% else %} | |
17 | <p>There is not customer info right now.</p> | |
18 | {% endif %} | |
19 | {% endblock %} |