Skip to content

Commit

Permalink
Merge pull request #286 from geoadmin/hotfix_BGDIINF_SB-1826_BGDIINF_…
Browse files Browse the repository at this point in the history
…SG-1827_admin_interface

#patch, BGDIINF_SB-1826, BGDIINF_SB-1827: Hotfix Item Admin page - v1.4.1
  • Loading branch information
ltshb authored May 20, 2021
2 parents 7717d67 + 528d919 commit eb7dcb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion app/stac_api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ class Media:
readonly_fields = ['collection_name']
fieldsets = (
(None, {
'fields': ('name', 'collection', 'geometry')
'fields': ('name', 'collection')
}),
('geometry', {
'fields': ('geometry',)
}),
(
'Properties',
Expand Down
3 changes: 0 additions & 3 deletions app/stac_api/templates/admin/ol_swisstopo.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{% load static %}
{% block bootstrap_theme %}
<link rel="stylesheet" href="{% static 'style/css/admin.css' %}" type="text/css">
{% endblock %}
{% block extrahead %}
<link rel="shortcut icon"href="{% static 'style/img/ico/favicon.ico' %}">
{% endblock %}
Expand Down

0 comments on commit eb7dcb3

Please sign in to comment.