Browse Source

Show name in page title

master
squeaky otter 6 years ago
parent
commit
f1be8d38fe
  1. 2
      models.py
  2. 2
      templates/parts/edit.jinja2

2
models.py

@ -479,7 +479,7 @@ def gen_user_barcode(mapper, connection, target):
def safe_delete(path):
""" Not really """
if not path: return
if os.path.isfile(path):
os.remove(path)

2
templates/parts/edit.jinja2

@ -4,7 +4,7 @@
{% block content %}
<h3>
<a href="{{ url_for("bp_parts.parts_edit", pid=part.id) }}" title="View part"><i class="fa fa-eye"></i></a>
Manage a part
Manage {{ part.name }}
</h3>
<ul class="nav nav-tabs" role="tablist">