diff --git a/hbd/server/http.py b/hbd/server/http.py index cdda8fd..717a07d 100644 --- a/hbd/server/http.py +++ b/hbd/server/http.py @@ -538,6 +538,7 @@ async def start( "name": hostname, "plugins": list(host.plugin_data.keys()), "is_owner": _can_own_host(current_user, host), + "owner": host.owner, }) tmpl = env.get_template("plugins.html") diff --git a/hbd/server/templates/plugins.html b/hbd/server/templates/plugins.html index 3d81bfb..23471b8 100644 --- a/hbd/server/templates/plugins.html +++ b/hbd/server/templates/plugins.html @@ -418,6 +418,9 @@
+ {% if current_user and current_user.admin and host.owner %} + {{ host.owner }} + {% endif %}