{% extends "admin/base.html" %}

{# Copyright 2010-2012 Canonical Ltd.  This software is licensed under #}
{# the GNU Lesser General Public License version 3 (see the file LICENSE). #}

{% load i18n %}

{% block title %}{{ title }} | {% trans 'Django site admin' %}{% endblock %}

{% block footer %}
{{ block.super }}
<script type="text/javascript">
  if (document.getElementsByClassName) {
      var changelinks = document.getElementsByClassName("changelink");
      for (var i = 0; i < changelinks.length; i += 1) {
          var a = changelinks[i];
          if (a.getAttribute("href") == "adminaudit/auditlog/") {
              a.parentNode.removeChild(a);
              break;
          }
      }
  }
</script>
{% endblock %}

{% block branding %}
<h1 id="site-name">{% trans 'Django administration' %}</h1>
{% endblock %}

{% block nav-global %}{% endblock %}
