mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Blank 'notes' page for Part model
This commit is contained in:
parent
aa2f63830e
commit
da01177d23
13
InvenTree/part/templates/part/notes.html
Normal file
13
InvenTree/part/templates/part/notes.html
Normal file
@ -0,0 +1,13 @@
|
||||
{% extends "part/part_base.html" %}
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block details %}
|
||||
|
||||
{% include 'part/tabs.html' with tab='notes' %}
|
||||
|
||||
<h4>{% trans "Part Notes" %}</h4>
|
||||
|
||||
Notes field goes here
|
||||
|
||||
{% endblock %}
|
@ -54,4 +54,7 @@
|
||||
<li{% ifequal tab 'attachments' %} class="active"{% endifequal %}>
|
||||
<a href="{% url 'part-attachments' part.id %}">{% trans "Attachments" %} {% if part.attachment_count > 0 %}<span class="badge">{{ part.attachment_count }}</span>{% endif %}</a>
|
||||
</li>
|
||||
<li{% ifequal tab 'notes' %} class="active"{% endifequal %}>
|
||||
<a href="{% url 'part-notes' part.id %}">{% trans "Notes" %}</a>
|
||||
</li>
|
||||
</ul>
|
@ -52,6 +52,7 @@ part_detail_urls = [
|
||||
url(r'^orders/?', views.PartDetail.as_view(template_name='part/orders.html'), name='part-orders'),
|
||||
url(r'^track/?', views.PartDetail.as_view(template_name='part/track.html'), name='part-track'),
|
||||
url(r'^attachments/?', views.PartDetail.as_view(template_name='part/attachments.html'), name='part-attachments'),
|
||||
url(r'^notes/?', views.PartDetail.as_view(template_name='part/notes.html'), name='part-notes'),
|
||||
|
||||
url(r'^qr_code/?', views.PartQRCode.as_view(), name='part-qr'),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user