{% extends 'dashboard/new_base.html' %} {% load paginate %} {% load blog_tags %} {% block title %}Themes{% endblock %} {% block extra_css %} {% endblock %} {% block content %} {% with request.user.userrole_set.last as user_role %}
Themes
Add New Theme
{% if request.user.is_superuser or user_role.role == "Admin"%}
{% csrf_token %}
{% endif %}
{% csrf_token %}

{% if themes_list %}
{% paginate 5 themes_list %} {% show_pageitems %} {% if request.user.is_superuser or user_role.role == "Admin"%} {% endif %} {% if request.user.is_superuser or user_role.role == "Admin"%} {% endif %} {% for theme in themes_list %} {% if request.user.is_superuser or user_role.role == "Admin"%} {% endif %} {% if request.user.is_superuser or user_role.role == "Admin"%} {% endif %} {% endfor %}
Title StatusActions
{{ theme.name }} Edit Delete
{% show_pages %}
{% else %}

There are no themes here{% if request.POST %} with filter "{{ request.POST.search_text }}"{% endif %}!

{% endif %}
{% endwith %} {% endblock %} {% block js_script %} {% endblock %}