]> git.frykholm.com Git - tranquillity.git/blob - customerportal/templates/customerportal/landing.html
7ac974baf33f4b823dc3109e06253613a5fa4b5b
[tranquillity.git] / customerportal / templates / customerportal / landing.html
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 %}