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:
parent
185a765e01
commit
5995b1e056
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue