Remove move status buttons (not yet implemented)
This commit is contained in:
@@ -99,24 +99,6 @@
|
|||||||
<i class="fas fa-trash"></i>
|
<i class="fas fa-trash"></i>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not forloop.first %}
|
|
||||||
<form method="post" action="{% url 'orders:status_move' status.pk %}" class="d-inline" style="display: none;" id="move-up-form-{{ status.pk }}">
|
|
||||||
{% csrf_token %}
|
|
||||||
<input type="hidden" name="direction" value="up">
|
|
||||||
</form>
|
|
||||||
<button class="btn btn-outline-secondary" onclick="document.getElementById('move-up-form-{{ status.pk }}').submit();" title="Вверх">
|
|
||||||
<i class="fas fa-arrow-up"></i>
|
|
||||||
</button>
|
|
||||||
{% endif %}
|
|
||||||
{% if not forloop.last %}
|
|
||||||
<form method="post" action="{% url 'orders:status_move' status.pk %}" class="d-inline" style="display: none;" id="move-down-form-{{ status.pk }}">
|
|
||||||
{% csrf_token %}
|
|
||||||
<input type="hidden" name="direction" value="down">
|
|
||||||
</form>
|
|
||||||
<button class="btn btn-outline-secondary" onclick="document.getElementById('move-down-form-{{ status.pk }}').submit();" title="Вниз">
|
|
||||||
<i class="fas fa-arrow-down"></i>
|
|
||||||
</button>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user