mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
fix: envelope styling (#2102)
This commit is contained in:
@ -353,6 +353,13 @@ export const formatDocumentAuditLogAction = (
|
||||
}),
|
||||
identified: msg`${prefix} deleted the document`,
|
||||
}))
|
||||
.with({ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_FIELDS_AUTO_INSERTED }, () => ({
|
||||
anonymous: msg({
|
||||
message: `System auto inserted fields`,
|
||||
context: `Audit log format`,
|
||||
}),
|
||||
identified: msg`System auto inserted fields`,
|
||||
}))
|
||||
.with({ type: DOCUMENT_AUDIT_LOG_TYPE.DOCUMENT_FIELD_INSERTED }, () => ({
|
||||
anonymous: msg({
|
||||
message: `Field signed`,
|
||||
@ -515,6 +522,14 @@ export const formatDocumentAuditLogAction = (
|
||||
context: `Audit log format`,
|
||||
}),
|
||||
}))
|
||||
.with({ type: DOCUMENT_AUDIT_LOG_TYPE.ENVELOPE_ITEM_CREATED }, ({ data }) => ({
|
||||
anonymous: msg`Envelope item created`,
|
||||
identified: msg`${prefix} created an envelope item with title ${data.envelopeItemTitle}`,
|
||||
}))
|
||||
.with({ type: DOCUMENT_AUDIT_LOG_TYPE.ENVELOPE_ITEM_DELETED }, ({ data }) => ({
|
||||
anonymous: msg`Envelope item deleted`,
|
||||
identified: msg`${prefix} deleted an envelope item with title ${data.envelopeItemTitle}`,
|
||||
}))
|
||||
.exhaustive();
|
||||
|
||||
return {
|
||||
|
||||
@ -101,7 +101,7 @@ export const getClientSideFieldTranslations = ({ t }: I18n): Record<FieldType, s
|
||||
[FieldType.TEXT]: t(msg`Text`),
|
||||
[FieldType.CHECKBOX]: t(msg`Checkbox`),
|
||||
[FieldType.RADIO]: t(msg`Radio`),
|
||||
[FieldType.DROPDOWN]: t(msg`Dropdown`),
|
||||
[FieldType.DROPDOWN]: t(msg`Select Option`),
|
||||
[FieldType.SIGNATURE]: t(msg`Signature`),
|
||||
[FieldType.FREE_SIGNATURE]: t(msg`Free Signature`),
|
||||
[FieldType.INITIALS]: t(msg`Initials`),
|
||||
|
||||
Reference in New Issue
Block a user