diff --git a/src/users/jinja2/users/components/elements-modal.jinja2 b/src/users/jinja2/users/components/elements-modal.jinja2 index ae554b00..89dc7760 100644 --- a/src/users/jinja2/users/components/elements-modal.jinja2 +++ b/src/users/jinja2/users/components/elements-modal.jinja2 @@ -21,7 +21,7 @@ $('#element-upload-info').replaceWith( '

' + {{ _("Uploaded by ")|tojson }} + - owner + ', ' + + owner.username + ', ' + {{ _("in ")|tojson }} + new Date(date).toLocaleDateString() + '

' ) } @@ -36,11 +36,12 @@ '

' ) } - function usedInExhibit(marker_id, object_id, exhibits_count, marker_src, augmented_src, element_id){ + function usedInExhibit(marker_id, object_id, exhibits_count, marker, augmented, element_id){ let object_tag = '' + let augmented_src = augmented.source if(augmented_src.split('.')[1] == 'mp4' || augmented_src.split('.')[1] == 'webm'){ object_tag = '