mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Replace some cog icons
This commit is contained in:
parent
5ab3c386bb
commit
d5119e1aff
@ -26,12 +26,12 @@ InvenTree | Company - {{ company.name }}
|
|||||||
<p>{{ company.description }}</p>
|
<p>{{ company.description }}</p>
|
||||||
<div class='btn-group'>
|
<div class='btn-group'>
|
||||||
{% if company.is_supplier %}
|
{% if company.is_supplier %}
|
||||||
<button type='button' class='btn btn-default btn-glyph' id='company-order' title='Create purchase order'>
|
<button type='button' class='btn btn-default btn-glyph' id='company-order-2' title='Create purchase order'>
|
||||||
<span class='glyphicon glyphicon-shopping-cart'/>
|
<span class='glyphicon glyphicon-shopping-cart'/>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button type='button' class='btn btn-default btn-glyph' id='company-edit' title='Edit company information'>
|
<button type='button' class='btn btn-default btn-glyph' id='company-edit' title='Edit company information'>
|
||||||
<span class='glyphicon glyphicon-cog'/>
|
<span class='glyphicon glyphicon-edit'/>
|
||||||
</button>
|
</button>
|
||||||
<button type='button' class='btn btn-default btn-glyph' id='company-delete' title='Delete company'>
|
<button type='button' class='btn btn-default btn-glyph' id='company-delete' title='Delete company'>
|
||||||
<span class='glyphicon glyphicon-trash'/>
|
<span class='glyphicon glyphicon-trash'/>
|
||||||
@ -98,6 +98,17 @@ InvenTree | Company - {{ company.name }}
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#company-order-2").click(function() {
|
||||||
|
launchModalForm("{% url 'purchase-order-create' %}",
|
||||||
|
{
|
||||||
|
data: {
|
||||||
|
supplier: {{ company.id }},
|
||||||
|
},
|
||||||
|
follow: true,
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
$('#company-delete').click(function() {
|
$('#company-delete').click(function() {
|
||||||
launchModalForm(
|
launchModalForm(
|
||||||
"{% url 'company-delete' company.id %}",
|
"{% url 'company-delete' company.id %}",
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
</button>
|
</button>
|
||||||
{% if category %}
|
{% if category %}
|
||||||
<button class='btn btn-default btn-glyph' id='cat-edit' title='Edit part category'>
|
<button class='btn btn-default btn-glyph' id='cat-edit' title='Edit part category'>
|
||||||
<span class='glyphicon glyphicon-cog'/>
|
<span class='glyphicon glyphicon-edit'/>
|
||||||
</button>
|
</button>
|
||||||
<button class='btn btn-default btn-glyph' id='cat-delete' title='Delete part category'>
|
<button class='btn btn-default btn-glyph' id='cat-delete' title='Delete part category'>
|
||||||
<span class='glyphicon glyphicon-trash'/>
|
<span class='glyphicon glyphicon-trash'/>
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button type='button' class='btn btn-default btn-glyph' id='stock-edit' title='Edit stock item'>
|
<button type='button' class='btn btn-default btn-glyph' id='stock-edit' title='Edit stock item'>
|
||||||
<span class='glyphicon glyphicon-cog'/>
|
<span class='glyphicon glyphicon-edit'/>
|
||||||
</button>
|
</button>
|
||||||
<button type='button' class='btn btn-default btn-glyph' id='stock-delete' title='Edit stock item'>
|
<button type='button' class='btn btn-default btn-glyph' id='stock-delete' title='Edit stock item'>
|
||||||
<span class='glyphicon glyphicon-trash'/>
|
<span class='glyphicon glyphicon-trash'/>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<span class='glyphicon glyphicon-ok-circle'/>
|
<span class='glyphicon glyphicon-ok-circle'/>
|
||||||
</button>
|
</button>
|
||||||
<button class='btn btn-default btn-glyph' id='location-edit' title='Edit stock location'>
|
<button class='btn btn-default btn-glyph' id='location-edit' title='Edit stock location'>
|
||||||
<span class='glyphicon glyphicon-cog'/>
|
<span class='glyphicon glyphicon-edit'/>
|
||||||
</button>
|
</button>
|
||||||
<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'/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user