mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-25 04:19:31 +00:00
Added dropdowns for quick generating labels for different profiles.
This commit is contained in:
parent
747962884a
commit
48ff81a6d1
8 changed files with 118 additions and 3 deletions
|
|
@ -1,3 +1,5 @@
|
|||
{% import "LabelSystem/dropdown_macro.html.twig" as dropdown %}
|
||||
|
||||
{% if is_granted('edit', part) %}
|
||||
<a href="{{ part|entityURL('edit') }}" class="btn btn-primary mt-3">
|
||||
<i class="fas fa-fw fa-edit"></i>
|
||||
|
|
@ -46,4 +48,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
{{ dropdown.profile_dropdown('part', part.id) }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue