1. 更新页面添加容器启动时间,以提示是否重启成功!

This commit is contained in:
ngfchl
2022-08-29 07:21:42 +08:00
parent 5f988bde54
commit 91ffae3897

View File

@@ -181,7 +181,7 @@ def restart_container(request):
update_tips = '已有新版本,请根据需要升级!'
return render(request, 'auto_pt/restart.html',
context={
'delta': delta.total_seconds(),
'delta': delta.seconds,
'local_logs': get_git_logs(),
'update_notes': get_git_logs(master='origin/master'),
'update': update,