From 22aabde8291e63375c0812c3bb22f38df94c0d29 Mon Sep 17 00:00:00 2001
From: frekk <frekk@ucc.asn.au>
Date: Sun, 30 Dec 2018 18:02:25 +0800
Subject: [PATCH] fix favicon.ico 404

---
 gms/templates/admin/base_site.html |  4 ++++
 gms/templates/admin/index.html     | 24 ------------------------
 2 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/gms/templates/admin/base_site.html b/gms/templates/admin/base_site.html
index 3f48b27..284cf21 100644
--- a/gms/templates/admin/base_site.html
+++ b/gms/templates/admin/base_site.html
@@ -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" %}">
diff --git a/gms/templates/admin/index.html b/gms/templates/admin/index.html
index 5b189e2..385d095 100644
--- a/gms/templates/admin/index.html
+++ b/gms/templates/admin/index.html
@@ -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 %}
-- 
GitLab