diff --git a/InvenTree/part/templates/part/notes.html b/InvenTree/part/templates/part/notes.html new file mode 100644 index 0000000000..ec2329fd0c --- /dev/null +++ b/InvenTree/part/templates/part/notes.html @@ -0,0 +1,13 @@ +{% extends "part/part_base.html" %} +{% load static %} +{% load i18n %} + +{% block details %} + +{% include 'part/tabs.html' with tab='notes' %} + +

{% trans "Part Notes" %}

+ +Notes field goes here + +{% endblock %} \ No newline at end of file diff --git a/InvenTree/part/templates/part/tabs.html b/InvenTree/part/templates/part/tabs.html index 52630d333f..8d8d38b75e 100644 --- a/InvenTree/part/templates/part/tabs.html +++ b/InvenTree/part/templates/part/tabs.html @@ -54,4 +54,7 @@ {% trans "Attachments" %} {% if part.attachment_count > 0 %}{{ part.attachment_count }}{% endif %} + + {% trans "Notes" %} + \ No newline at end of file diff --git a/InvenTree/part/urls.py b/InvenTree/part/urls.py index bbad7634c5..c8ad8b0e6c 100644 --- a/InvenTree/part/urls.py +++ b/InvenTree/part/urls.py @@ -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'),