{% extends "profile/myprofile.html" %} {% load smart_if %} {% block profileContent %} {% comment %}
Book | Borrowed from | For how long? | ||
---|---|---|---|---|
{% if borrowedBook.book.book.coverUrl %}
|
{{borrowedBook.book.book.title}} |
{{borrowedBook.book.owner}}
|
You've had this book for {{borrowedBook.daysLent}} days | I've returned this book |
book | lent to | ||
---|---|---|---|
{% if borrowedBook.book.book.coverUrl %}
|
{{borrowedBook.book.book.title}} |
{%if borrowedBook.book.currentLocation.actualUser %}
{{borrowedBook.book.currentLocation.actualUser.username}}
has had this book for {{borrowedBook.daysLent}} days
{%else%}
{{borrowedBook.book.currentLocation.name}}
has had this book for {{borrowedBook.daysLent}} days
{%endif%}
{%if borrowedBook.book.returnNotified%}
{{borrowedBook.book.currentLocation.getSensibleName}} notified you they returned this book. {%endif %} |
{{borrowedBook.book.currentLocation.getSensibleName}} returned this book |