Skip to content
Snippets Groups Projects
Commit 22aabde8 authored by frekk's avatar frekk
Browse files

fix favicon.ico 404

parent f34d9abe
No related merge requests found
......@@ -4,6 +4,10 @@
{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{% static 'ucc-logo.png' %}"/>
{% endblock %}
{% block extrastyle %}
<link rel="stylesheet" type="text/css" href="{% static "shared.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "admin_custom.css" %}">
......
......@@ -37,30 +37,6 @@
{% endif %}
</tr>
{% endfor %}
{# add a couple more links here for our custom views #}
<tr class="model-{{ model.object_name|lower }}">
{% if model.admin_url %}
<th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
{% else %}
<th scope="row">{{ model.name }}</th>
{% endif %}
{% if model.add_url %}
<td><a href="{{ model.add_url }}" class="addlink">{% trans 'Add' %}</a></td>
{% else %}
<td>&nbsp;</td>
{% endif %}
{% if model.admin_url %}
{% if model.view_only %}
<td><a href="{{ model.admin_url }}" class="viewlink">{% trans 'View' %}</a></td>
{% else %}
<td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>
{% endif %}
{% else %}
<td>&nbsp;</td>
{% endif %}
</tr>
</table>
</div>
{% else %}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment