tools (common/template): use font-awesome names in _icon_from_client:

the frontend icons moved from fontello to font-awesome.
This commit is contained in:
Goffi 2026-10-19 12:22:22 +02:00
commit 5995b1e056

View file

@ -1091,11 +1091,11 @@ class Renderer:
def _icon_from_client(self, client): def _icon_from_client(self, client):
"""Get icon name to represent a disco client""" """Get icon name to represent a disco client"""
if client is None: if client is None:
return "desktop" return "display"
elif "pc" in client: elif "pc" in client:
return "desktop" return "display"
elif "phone" in client: elif "phone" in client:
return "mobile" return "mobile-screen-button"
elif "web" in client: elif "web" in client:
return "globe" return "globe"
elif "console" in client: elif "console" in client: