TagSpaces is an offline, open source, document manager with tagging support
feature: add background color to description, simplifying date and size
Ilian Sapundshievd9d80cf177a7
diff --git a/app/components/EntryProperties.tsx b/app/components/EntryProperties.tsxindex 202e97ce5..deb43ad68 100644--- a/app/components/EntryProperties.tsx+++ b/app/components/EntryProperties.tsx@@ -734,6 +734,11 @@ class EntryProperties extends Component<Props, State> {inputRef={ref => {this.fileDescription = ref;}}+ style={{+ padding: 10,+ borderRadius: 5,+ backgroundColor: 'rgba(255, 216, 115, 0.53)'+ }}id="textarea"placeholder=""name="description"@@ -746,8 +751,11 @@ class EntryProperties extends Component<Props, State> {<Typographystyle={{display: 'block',- padding: 2,+ padding: 10,+ borderRadius: 5,+ backgroundColor: 'rgba(255, 216, 115, 0.53)',marginBottom: 5,+color: description? this.props.theme.palette.text.primary: this.props.theme.palette.text.disabled@@ -781,9 +789,9 @@ class EntryProperties extends Component<Props, State> {className={classes.header}style={{ display: 'block' }}>- {i18n.t('core:fileLDTM')}+ {i18n.t('core:fileLDTM') + ': ' + ldtm}</Typography>- <FormControl fullWidth={true} className={classes.formControl}>+ {/* <FormControl fullWidth={true} className={classes.formControl}><TextFieldInputProps={{readOnly: true@@ -794,7 +802,7 @@ class EntryProperties extends Component<Props, State> {data-tid="fileLdtmProperties"value={ldtm}/>- </FormControl>+ </FormControl> */}</div>{isFile ? (@@ -804,9 +812,9 @@ class EntryProperties extends Component<Props, State> {className={classes.header}style={{ display: 'block' }}>- {i18n.t('core:fileSize')}+ {i18n.t('core:fileSize') + ': ' + formatFileSize(size)}</Typography>- <FormControl+ {/* <FormControlfullWidth={true}className={classes.formControl}title={size + ' bytes'}@@ -821,7 +829,7 @@ class EntryProperties extends Component<Props, State> {data-tid="fileSizeProperties"value={formatFileSize(size)}/>- </FormControl>+ </FormControl> */}</div>) : (<div className="grid-item" style={{ width: '50%' }}>diff --git a/app/locales/en/core.json b/app/locales/en/core.jsonindex f574443c6..ca3f7a06c 100644--- a/app/locales/en/core.json+++ b/app/locales/en/core.json@@ -286,7 +286,7 @@"confirmAllTagsDeletion": "Are you sure you want to remove all tags?","existingTags": "Existing tags","addDescription": "Adding description with markdown support available in TagSpaces PRO",- "addMarkdownDescription": "Click to add description, some markdown supported",+ "addMarkdownDescription": "Click to add description (markdown supported)","addEntryTags": "Add","modifiedDate": "Last modified","latestVersion": "You are on the latest version of {{productName}}",