Added by
This commit is contained in:
@@ -681,5 +681,6 @@
|
||||
"processing_videos_status": "Processing videos...",
|
||||
"share_favorites": "Share favorites",
|
||||
"person_favorites": "{{name}}'s favorites",
|
||||
"shared_favorites": "Shared favorites"
|
||||
"shared_favorites": "Shared favorites",
|
||||
"added_by_name": "Added by {{name}}"
|
||||
}
|
||||
|
||||
@@ -256,6 +256,8 @@ export const FileInfo: React.FC<FileInfoProps> = ({
|
||||
onSelectPerson?.(personID);
|
||||
};
|
||||
|
||||
const uploaderName = filePublicMagicMetadata(file)?.uploaderName;
|
||||
|
||||
return (
|
||||
<FileInfoSidebar {...{ open, onClose }}>
|
||||
<Titlebar onClose={onClose} title={t("info")} backIsClose />
|
||||
@@ -365,6 +367,14 @@ export const FileInfo: React.FC<FileInfoProps> = ({
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{uploaderName && (
|
||||
<Typography
|
||||
variant="small"
|
||||
sx={{ m: 2, textAlign: "right", color: "text.muted" }}
|
||||
>
|
||||
{t("added_by_name", { name: uploaderName })}
|
||||
</Typography>
|
||||
)}
|
||||
</Stack>
|
||||
<RawExif
|
||||
{...rawExifVisibilityProps}
|
||||
|
||||
Reference in New Issue
Block a user