Added a link in admin branding block to admin index.

Refs #13749 and #21220.
This commit is contained in:
Ryan Allen 2013-10-06 20:34:40 -04:00 committed by Tim Graham
parent 698dd82eee
commit 259a6ea82c
2 changed files with 8 additions and 1 deletions

View File

@ -790,6 +790,9 @@ table#change-history tbody th {
font-size: 18px;
margin: 8px 0;
font-weight: normal;
}
#branding h1, #branding h1 a:link, #branding h1 a:visited {
color: #f4f379;
}
@ -801,6 +804,10 @@ table#change-history tbody th {
color: #ffc;
}
#branding a:hover {
text-decoration: none;
}
#user-tools {
position: absolute;
top: 0;

View File

@ -3,7 +3,7 @@
{% block title %}{{ title }} | {{ site_title }}{% endblock %}
{% block branding %}
<h1 id="site-name">{{ site_header }}</h1>
<h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header }}</a></h1>
{% endblock %}
{% block nav-global %}{% endblock %}