mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-21 23:24:42 +00:00
Add page_title link
This commit is contained in:
parent
0052cd3a9a
commit
e2f6bb859e
2 changed files with 5 additions and 4 deletions
|
|
@ -70,6 +70,7 @@
|
|||
<div class="{% block class_page_title %}span10{% endblock class_page_title %}">
|
||||
<h3>{% block page_title %}{% trans "Site administration" %}{% endblock page_title %}</h3>
|
||||
</div>
|
||||
<div class="span2">{% block page_title_link %}{% endblock page_title_link %}</div>
|
||||
</div>
|
||||
{% block content %}{% endblock content %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
{# Translators : examples : Add post, Change object #}
|
||||
{% block page_title %}{% blocktrans with action=action model_name=model_name %}{{ action_name }} {{ model_name }}{% endblocktrans %}{% endblock page_title %}
|
||||
|
||||
{% block page_title_link %}
|
||||
<a href="#" class="btn btn-info">History</a>
|
||||
{% endblock page_title_link %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
<li>
|
||||
<a href="{% url "admin2:dashboard" %}">{% trans "Home" %}</a>
|
||||
|
|
@ -36,10 +40,6 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<div class="history_btn">
|
||||
<a href="#" class="btn btn-info">History</a>
|
||||
</div>
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<form method="post">
|
||||
|
|
|
|||
Loading…
Reference in a new issue