{% extends "librarian/base.html" %} {% load markdownify %} {% load django_tables2 %} {% load gravatar %} {% block title %}Author Details - {{ author }}{% endblock %} {% block navbar_items %} {{ block.super }} {% endblock %} {% block content %}
Author Details
{% if author.image %} Profile image {% endif %}
{% if author.display_name %}

{{ author.display_name }}

{% else %}

{{ author.last_name }}, {{ author.first_name }}

{% endif %}

Library Details

Author type: {{ author.get_author_type_display }}

Books: {{ author.book_set.count }}

Personal Details

Name: {{ author.first_name }} {{ author.last_name }}

Display Name:: {{ author.display_name }}

Country:  {% if author.country %} {{ author.country.name }} {% else %} Unknown {% endif %}

Born: {{ author.born }}

Died: {{ author.died }}


Description
{% if author.description %} {{ author.description|markdownify:"trusted_descriptions" }} {% else %}

No description available.

{% endif %}

Actions
Edit

Books
{% render_table books_table %}

{% endblock %}