From 555460f982e733136360a770698e2eb01099f311 Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Thu, 21 Dec 2023 12:19:49 +0100 Subject: Remove id from client's bubbles Remove id from client's bubbles in the following commands: Power (Poweroff, Poweron, Reboot); Setup (Set boot mode, Set ogLive); Client (Start session) To make the string replacement, a custom jinja filter has been created --- ogcp/templates/macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/templates') diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index 0d1ebe2..fb7c311 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -104,7 +104,7 @@ {% set max_clients = 50 %} {% for name_id, ip in selected_clients[:max_clients] %}
- {{ name_id }}
{{ ip }} + {{ name_id|remove_id }}
{{ ip }}
{% if loop.last and (selected_clients|length > max_clients) %}
...
-- cgit v1.2.3-18-g5258