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

{% block title %}{{title}} | {% trans "Review Board administration" %}{% endblock %}

{% block extrastyle %}
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}rb/css/admin.css?{{MEDIA_SERIAL}}" />
<link rel="icon" type="image/png" href="{{MEDIA_URL}}rb/images/favicon.png?{{MEDIA_SERIAL}}" />
{% endblock %}

{% block branding %}
<a href="{% url root %}"><img id="logo" src="{{MEDIA_URL}}rb/images/logo.png?{{MEDIA_SERIAL}}" alt="" border="0" /></a>
<h1 id="site-name">{% trans "Review Board administration" %}</h1>
{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs"><a href="{{SITE_ROOT}}admin/">{% trans "Home" %}</a> {% if title %} &rsaquo; {{ title|escape }}{% endif %}</div>
{% endblock %}

{% block nav-global %}
{%  if user.is_authenticated %}
<ul id="admin-nav">
 <li><a href="{% url reviewboard.admin.views.dashboard %}">{% trans "Dashboard" %}</a></li>
 <li><a href="{% url reviewboard.admin.views.dashboard %}db/">{% trans "Database" %}</a></li>
 <li><a href="{% url site-settings %}">{% trans "Settings" %}</a></li>
</ul>

{%   block subnavbar %}{% endblock %}
{%  endif %}
{% endblock %}
