mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-24 18:10:25 +00:00
There's currently a lot of copy-pasting of breadcrumbs, this can be revisited once we have a better understanding of how we're going to handle navigation. I've also tried to make template context variables more logical and consistent throughout.
17 lines
569 B
HTML
17 lines
569 B
HTML
{% extends "admin2/bootstrap/base.html" %}
|
|
{% load admin2_tags i18n %}
|
|
|
|
{% block breadcrumbs %}
|
|
<li><a href="{% url "admin2:dashboard" %}">Home</a> <span class="divider">/</span></li>
|
|
<li class="active">{{ app_label|title }}</li>
|
|
{% endblock %}
|
|
|
|
{% block page_title %}{% blocktrans with app_label=app_label|title %}{{ app_label }} administration{% endblocktrans %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="span7">
|
|
{% include 'admin2/bootstrap/includes/app_model_list.html' %}
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|