{% extends 'base.html' %} {% block content %} {% load static %} {% if user.user_type == 1 %}

Welcome {{user.first_name}} {{user.last_name}}!!

Total Category

{{cat_count}}

View Details

Total Listed Author

{{author_count}}

View Details

Total Book

{{book_count}}

View Details

Total Issued Books

{{issbook_count}}

View Details

Total Return Books

{{retbook_count}}

View Details

Total Reg Users

{{regusers_count}}

View Details
{% elif user.user_type == 2 %}

Welcome {{user.first_name}} {{user.last_name}}!!

Total Book

{{book_count}}

View Details
{% endif %} {% endblock %}