forked from wiktor/spejstore-new
title nice
This commit is contained in:
parent
7f12474e76
commit
786f2a3675
|
@ -84,6 +84,7 @@ def item_display(request, pk):
|
||||||
has_one_label = len(labels) == 1
|
has_one_label = len(labels) == 1
|
||||||
|
|
||||||
return render(request, 'item.html', {
|
return render(request, 'item.html', {
|
||||||
|
'title': item.name,
|
||||||
'item': item,
|
'item': item,
|
||||||
'categories': item.categories.all(),
|
'categories': item.categories.all(),
|
||||||
'props': sorted(item.props.items()),
|
'props': sorted(item.props.items()),
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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 name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<link rel="stylesheet" href="{% static 'css/bootstrap.css' %}" media="screen">
|
<link rel="stylesheet" href="{% static 'css/bootstrap.css' %}" media="screen">
|
||||||
|
|
Loading…
Reference in New Issue