mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-07 04:12:11 +00:00
Changed some category views to use boostrap list-group
- Looks much fancier!
This commit is contained in:
@@ -5,17 +5,16 @@
|
||||
{% include "stock/loc_link.html" with location=location %}
|
||||
|
||||
{% if children|length > 0 %}
|
||||
<table>
|
||||
<tr><th>Sublocations</th></tr>
|
||||
Storage locations:
|
||||
<ul class="list-group">
|
||||
{% for child in children %}
|
||||
<tr>
|
||||
<td><a href="/stock/list/?location={{ child.id }}">{{ child.name }}</a></td>
|
||||
</tr>
|
||||
<li class="list-group-item"><a href="/stock/list/?location={{ child.id }}">{{ child.name }}</a></li>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% if items|length > 0 %}
|
||||
Stock items:
|
||||
<table>
|
||||
<tr>
|
||||
<th>Item</th>
|
||||
|
Reference in New Issue
Block a user