Commits

Colin Copeland  committed a499346

extend admin base site for branding

  • Participants
  • Parent commits a0206a3

Comments (0)

Files changed (1)

File lib/copelco/templates/admin/base_site.html

+{% extends "admin/base.html" %}
+{% load i18n %}
+
+{% block extrahead %}{{ block.super }}
+{% endblock %}
+
+{% block extrastyle %}
+{{ block.super }}
+{% endblock %}
+
+{% block title %}{{ title }} | {% trans 'copelco Admin' %}{% endblock %}
+
+{% block branding %}
+<h1 id="site-name">{% trans 'copelco Admin' %}</h1>
+{% endblock %}
+
+{% block nav-global %}
+    <div style='display:block; padding:0 1em 0.5em 1em; float:right;'>
+        <a href='{% url home %}'>{% trans 'Return to copelco' %}</a>
+    </div>
+{% endblock %}