new workspace and task order routes

This commit is contained in:
dandds
2018-12-13 16:05:44 -05:00
parent 3ca9d51b04
commit 6d92755a7f
24 changed files with 427 additions and 30 deletions

View File

@@ -11,9 +11,14 @@
]
) }}
{% if g.current_user.has_workspaces %}
{{ SidenavItem("Workspaces", href="/workspaces", icon="cloud", active=g.matchesPath('/workspaces')) }}
{% endif %}
{{ SidenavItem("Workspaces",
href="/workspaces",
icon="cloud",
active=g.matchesPath('/workspaces'),
subnav=[
{"label":"New Workspace", "href":url_for("workspaces.new"), "icon": "plus", "active": g.matchesPath('/workspaces/new')},
]
) }}
{% if g.Authorization.has_atat_permission(g.current_user, g.Permissions.VIEW_AUDIT_LOG) %}
{{ SidenavItem("Activity History", url_for('atst.activity_history'), icon="time", active=g.matchesPath('/activity-history')) }}