Merge remote-tracking branch 'origin/v3.0'

This commit is contained in:
Adolfo Gómez García 2021-01-21 11:00:45 +01:00
commit f933181369

View File

@ -184,6 +184,15 @@ def udsJs(request: 'HttpRequest') -> str:
) )
] ]
# We can add here custom downloads with something like this:
# plugins.append({
# 'url': 'http://www.google.com/coche.exe',
# 'description': 'Cliente SPICE for download', # Text that appears on download
# 'name': 'Linux', # Can be 'Linux', 'Windows', o 'MacOS'. Sets the icon.
# 'legacy': False # True = Gray, False = White
#})
actors: typing.List[typing.Dict[str, str]] = [] actors: typing.List[typing.Dict[str, str]] = []
if user and user.isStaff(): # Add staff things if user and user.isStaff(): # Add staff things