mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-03 17:05:16 +03:00
TSK-517: show 'Last Modified' instead of 'Date' for attachments (#2696)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
1d97d0c689
commit
5a1c8004ac
@ -53,7 +53,7 @@ export class TAttachment extends TAttachedDoc implements Attachment {
|
||||
@Prop(TypeString(), attachment.string.Type)
|
||||
type!: string
|
||||
|
||||
@Prop(TypeTimestamp(), attachment.string.Date)
|
||||
@Prop(TypeTimestamp(), attachment.string.LastModified)
|
||||
lastModified!: number
|
||||
|
||||
@Prop(TypeString(), attachment.string.Description)
|
||||
|
@ -35,6 +35,7 @@ export default mergeIds(attachmentId, attachment, {
|
||||
Type: '' as IntlString,
|
||||
Photo: '' as IntlString,
|
||||
Date: '' as IntlString,
|
||||
LastModified: '' as IntlString,
|
||||
SavedAttachments: '' as IntlString,
|
||||
Description: '' as IntlString,
|
||||
PinAttachment: '' as IntlString,
|
||||
|
@ -14,6 +14,7 @@
|
||||
"Size": "Size",
|
||||
"Photo": "Photo",
|
||||
"Date": "Date",
|
||||
"LastModified": "Last Modified",
|
||||
"Name": "Name",
|
||||
"FileBrowser": "File browser",
|
||||
"FileBrowserFileCounter": "{results, plural, =1 {# result} other {# results}}",
|
||||
|
@ -14,6 +14,7 @@
|
||||
"Size": "Размер",
|
||||
"Photo": "Фотография",
|
||||
"Date": "Дата",
|
||||
"LastModified": "Последнее изменение",
|
||||
"Name": "Название",
|
||||
"FileBrowser": "Браузер файлов",
|
||||
"FileBrowserFileCounter": "{results, plural, =1 {# результат} =2 {# результата} =3 {# результата} =4 {# результата} other {# результатов}}",
|
||||
|
Loading…
Reference in New Issue
Block a user