Redirect some links

This commit is contained in:
Oliver 2018-04-15 21:47:20 +10:00
parent 5861296974
commit 3c844fc77f
2 changed files with 3 additions and 2 deletions

View File

@ -4,8 +4,8 @@
<h3>BOM Item</h3>
<table class="table table-striped">
<tr><td>Parent</td><td><a href="{% url 'part-detail' item.part.id %}">{{ item.part.name }}</a></td></tr>
<tr><td>Child</td><td><a href="{% url 'part-detail' item.sub_part.id %}">{{ item.sub_part.name }}</a></td></tr>
<tr><td>Parent</td><td><a href="{% url 'part-bom' item.part.id %}">{{ item.part.name }}</a></td></tr>
<tr><td>Child</td><td><a href="{% url 'part-used-in' item.sub_part.id %}">{{ item.sub_part.name }}</a></td></tr>
<tr><td>Quantity</td><td>{{ item.quantity }}</td></tr>
</table>

View File

@ -7,6 +7,7 @@
background-color: #777;
color: #fff;
border-radius: 5px;
margin-left: 10px;
}
.part-thumb {