mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 21:16:46 +00:00
Add 'new stock location' button to top-level locatino
This commit is contained in:
parent
fefbcf2ed9
commit
1fc39d56df
@ -7,11 +7,16 @@
|
|||||||
{% if location %}
|
{% if location %}
|
||||||
<h3>{{ location.name }}</h3>
|
<h3>{{ location.name }}</h3>
|
||||||
<p>{{ location.description }}</p>
|
<p>{{ location.description }}</p>
|
||||||
|
{% else %}
|
||||||
|
<h3>Stock</h3>
|
||||||
|
<p>All stock items</p>
|
||||||
|
{% endif %}
|
||||||
<p>
|
<p>
|
||||||
<div class='btn-group'>
|
<div class='btn-group'>
|
||||||
<button class='btn btn-default btn-glyph' id='location-create' title='Create new stock location'>
|
<button class='btn btn-default btn-glyph' id='location-create' title='Create new stock location'>
|
||||||
<span class='glyphicon glyphicon-plus'/>
|
<span class='glyphicon glyphicon-plus'/>
|
||||||
</button>
|
</button>
|
||||||
|
{% if location %}
|
||||||
{% include "qr_button.html" %}
|
{% include "qr_button.html" %}
|
||||||
<button class='btn btn-default btn-glyph' id='location-count' title='Count stock items'>
|
<button class='btn btn-default btn-glyph' id='location-count' title='Count stock items'>
|
||||||
<span class='glyphicon glyphicon-ok-circle'/>
|
<span class='glyphicon glyphicon-ok-circle'/>
|
||||||
@ -22,12 +27,9 @@
|
|||||||
<button class='btn btn-default btn-glyph' id='location-delete' title='Delete stock location'>
|
<button class='btn btn-default btn-glyph' id='location-delete' title='Delete stock location'>
|
||||||
<span class='glyphicon glyphicon-trash'/>
|
<span class='glyphicon glyphicon-trash'/>
|
||||||
</button>
|
</button>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
|
||||||
<h3>Stock</h3>
|
|
||||||
<p>All stock items</p>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user