Browse Source

Show name in page title

master
Dashie der otter 3 years ago
parent
commit
f1be8d38fe
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      models.py
  2. 1
    1
      templates/parts/edit.jinja2

+ 1
- 1
models.py View File

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


+ 1
- 1
templates/parts/edit.jinja2 View File

@@ -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">