some admin ux improvements
This commit is contained in:
parent
60601b270e
commit
7f12474e76
|
@ -81,6 +81,9 @@ class ItemAdmin(StaffModelAdmin):
|
|||
return super(ItemAdmin, self).response_action(request, queryset)
|
||||
|
||||
|
||||
admin.site.site_title = 'Hackerspace Storage Admin'
|
||||
admin.site.site_header = 'Hackerspace Storage Admin'
|
||||
|
||||
admin.site.register(Item, ItemAdmin)
|
||||
admin.site.register(Category, StaffModelAdmin)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% block content %}
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="/item/">Everything</a></li>
|
||||
<li><a href="/item/">All</a></li>
|
||||
{% for ancestor in ancestors %}
|
||||
<li><a href="{{ ancestor.get_absolute_url }}">{{ ancestor.name }}</a></li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="/item/">All things</a></li>
|
||||
<li><a href="/admin/">Add thing</a></li>
|
||||
<li><a href="/admin/storage/item/add/">Add thing</a></li>
|
||||
<li><a href="https://wiki.hackerspace.pl/members:services:inventory">How to use</a></li>
|
||||
</ul>
|
||||
<form class="navbar-form navbar-right" role="search" action="/search">
|
||||
|
|
Loading…
Reference in New Issue