feat: 3 small fixes (#1347)

* fix: datetime input

* show message on upload user only

* show all media of user for editors/managers/admins
This commit is contained in:
Markos Gogoulos
2025-08-17 19:18:47 +03:00
committed by GitHub
parent 02eac68b51
commit e9f862a0ff
3 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ class MediaMetadataForm(forms.ModelForm):
widgets = {
"new_tags": MultipleSelect(),
"description": forms.Textarea(attrs={'rows': 4}),
"add_date": forms.DateInput(attrs={'type': 'date'}, format='%Y-%m-%d'),
"add_date": forms.DateTimeInput(attrs={'type': 'datetime-local', 'step': '1'}, format='%Y-%m-%dT%H:%M:%S'),
"thumbnail_time": forms.NumberInput(attrs={'min': 0, 'step': 0.1}),
}
labels = {