Skip to content
Snippets Groups Projects
Commit 148564ea authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Add Router VLANs dropdown for staff

parent 739007aa
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,17 @@ def render_homedashboard(staff):
def _render_links(staff):
result = [
result = []
if staff:
result.append({
"asDropdown": True,
"icon": "external link",
"tags": ["vlandash"],
"targetBlank": True,
"title": "Router VLANs",
"type": "dashboards",
},)
result.extend([
{
"asDropdown": True,
"icon": "external link",
......@@ -120,7 +130,7 @@ def _render_links(staff):
"title": "NREN Access",
"type": "dashboards",
},
]
])
if staff:
result.append(
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment