mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-08 11:19:33 +00:00
Added an option to enforce log comments for certain actions
This implements issue #220
This commit is contained in:
parent
5f2408b791
commit
29af14f588
14 changed files with 179 additions and 11 deletions
|
|
@ -46,7 +46,7 @@
|
|||
{% trans %}part.info.withdraw_modal.comment{% endtrans %}
|
||||
</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control" name="comment" value="">
|
||||
<input type="text" class="form-control" name="comment" value="" {% if event_comment_needed('part_stock_operation') %}required{% endif %}>
|
||||
<div id="emailHelp" class="form-text">{% trans %}part.info.withdraw_modal.comment.hint{% endtrans %}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue