mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 06:25:22 +01:00
Fixed exception in "Show all parts table".
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col">
|
||||
<a href="{{ url('part_new', url_options) }}" class="btn btn-success float-left {% if not is_granted("@parts.create") or entity.notSelectable %}disabled{% endif %}"><i class="fas fa-plus-square fa-fw"></i>
|
||||
<a href="{{ url('part_new', url_options) }}" class="btn btn-success float-left {% if not is_granted("@parts.create") or (entity is defined and entity.notSelectable) %}disabled{% endif %}"><i class="fas fa-plus-square fa-fw"></i>
|
||||
{% trans%}part.create.btn{% endtrans %}</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user