mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 13:57:57 -05:00
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:
@@ -574,7 +574,7 @@ def view_media(request):
|
||||
video_msg = "Media encoding hasn't started yet. Attempting to show the original video file"
|
||||
if media.encoding_status == "running":
|
||||
video_msg = "Media encoding is under processing. Attempting to show the original video file"
|
||||
if video_msg:
|
||||
if video_msg and media.user == request.user:
|
||||
messages.add_message(request, messages.INFO, video_msg)
|
||||
|
||||
return render(request, "cms/media.html", context)
|
||||
|
||||
Reference in New Issue
Block a user