diff --git a/storage/views.py b/storage/views.py index ccc3172..a3f1e2e 100644 --- a/storage/views.py +++ b/storage/views.py @@ -84,6 +84,7 @@ def item_display(request, pk): has_one_label = len(labels) == 1 return render(request, 'item.html', { + 'title': item.name, 'item': item, 'categories': item.categories.all(), 'props': sorted(item.props.items()), diff --git a/templates/base.html b/templates/base.html index 766f9d9..8e30783 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,7 +3,7 @@ - Hackerspace Storage System + {% if title %}{{ title }} - {% endif %}Hackerspace Storage