title nice

master
radex 2020-05-11 20:33:06 +02:00 committed by Piotr Dobrowolski
parent 7f12474e76
commit 786f2a3675
2 changed files with 2 additions and 1 deletions

View File

@ -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()),

View File

@ -3,7 +3,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hackerspace Storage System</title>
<title>{% if title %}{{ title }} - {% endif %}Hackerspace Storage</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="{% static 'css/bootstrap.css' %}" media="screen">