Make fields of files either readonly or hide them (#4053)

* make fields of file readonly to hinder confusion

* hide upload fields because duplication of information
This commit is contained in:
Nitwel
2021-02-15 16:10:25 +01:00
committed by GitHub
parent 6d468fb2bf
commit a589b9553c

View File

@@ -71,48 +71,64 @@ fields:
- field: type
display: mime-type
readonly: true
- field: filesize
display: filesize
readonly: true
- field: modified_by
interface: user
special: user-updated
width: half
display: user
readonly: true
- field: modified_on
interface: datetime
special: date-updated
width: half
display: datetime
readonly: true
- field: created_on
display: datetime
readonly: true
- field: created_by
display: user
readonly: true
- field: embed
width: half
hidden: true
- field: uploaded_by
display: user
width: half
hidden: true
- field: folder
width: half
readonly: true
- field: width
width: half
readonly: true
- field: uploaded_on
display: datetime
width: half
hidden: true
- field: height
width: half
readonly: true
- field: charset
width: half
readonly: true
- field: duration
width: half
readonly: true