unified naming schema

This commit is contained in:
Matthias 2021-05-18 01:02:31 +02:00
parent 46723f42ca
commit eafaf92ae2
2 changed files with 4 additions and 4 deletions

View File

@ -30,10 +30,10 @@
</a>
</li>
<li class='list-group-item {% if tab == "upload" %}active{% endif %}' title='{% trans "Upload File" %}'>
<a href='{% url "part-upload" %}'>
<li class='list-group-item {% if tab == "import" %}active{% endif %}' title='{% trans "Import Parts" %}'>
<a href='{% url "part-import" %}'>
<span class='fas fa-file-upload'></span>
{% trans "Upload File" %}
{% trans "Import Parts" %}
</a>
</li>

View File

@ -121,7 +121,7 @@ part_urls = [
url(r'^new/?', views.PartCreate.as_view(), name='part-create'),
# Upload a part
url(r'^import/', views.PartImport.as_view(), name='part-upload'),
url(r'^import/', views.PartImport.as_view(), name='part-import'),
# Create a new BOM item
url(r'^bom/new/?', views.BomItemCreate.as_view(), name='bom-item-create'),