mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-01 15:59:33 +00:00
Removed field permissions from Part edit page
This commit is contained in:
parent
fc1af24ef9
commit
5e06557cf0
12 changed files with 29 additions and 87 deletions
|
|
@ -136,7 +136,7 @@
|
|||
{% else %}
|
||||
{{ entity.addedDate | format_datetime(datetime_format) }}
|
||||
{% endif %}
|
||||
{% if is_granted('show_users', entity) %}
|
||||
{% if is_granted('show_history', entity) %}
|
||||
{% if lastModified == true %}
|
||||
{% set user = last_editing_user(entity) %}
|
||||
{% else %}
|
||||
|
|
@ -145,9 +145,9 @@
|
|||
|
||||
{% if user is not null %}
|
||||
{% if user.fullName is not empty %}
|
||||
<a href="{{ path('user_info', {"id": user.id}) }}" title="@{{ user.name }}"><i>({{ user.fullName }})</i></a>
|
||||
(<a href="{{ path('user_info', {"id": user.id}) }}" title="@{{ user.name }}">{{ user.fullName }}</a>)
|
||||
{% else %}
|
||||
<a href="{{ path('user_info', {"id": user.id}) }}" title="@{{ user.name }}"><i>(@{{ user.name }})</i></a>
|
||||
(<a href="{{ path('user_info', {"id": user.id}) }}" title="@{{ user.name }}">@{{ user.name }}</a>)
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue