Make the ip and hostname show up on the Drive page as well. (#759)

This commit is contained in:
Daniel Markstedt 2022-05-02 12:41:11 -07:00 committed by GitHub
parent ef6c13777c
commit aa1f3b02e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,6 +237,7 @@ def drive_list():
username = None
server_info = ractl_cmd.get_server_info()
ip_addr, host = sys_cmd.get_ip_and_host()
return render_template(
"drives.html",
@ -251,6 +252,8 @@ def drive_list():
cdrom_file_suffix=tuple(server_info["sccd"]),
username=username,
auth_active=auth_active(AUTH_GROUP)["status"],
ip_addr=ip_addr,
host=host,
)