feat: link api docs
This commit is contained in:
parent
f5d4010629
commit
b277bd8424
@ -1428,6 +1428,7 @@ MenuAllocationUsers: Bewerber
|
|||||||
MenuAllocationPriorities: Zentrale Dringlichkeiten
|
MenuAllocationPriorities: Zentrale Dringlichkeiten
|
||||||
MenuAllocationCompute: Platzvergabe berechnen
|
MenuAllocationCompute: Platzvergabe berechnen
|
||||||
MenuAllocationAccept: Platzvergabe akzeptieren
|
MenuAllocationAccept: Platzvergabe akzeptieren
|
||||||
|
MenuApiDocs: API-Dokumentation (Englisch)
|
||||||
MenuSwagger: OpenAPI 2.0 (Swagger)
|
MenuSwagger: OpenAPI 2.0 (Swagger)
|
||||||
MenuAllocationAddUser: Bewerber hinzufügen
|
MenuAllocationAddUser: Bewerber hinzufügen
|
||||||
MenuFaq: FAQ
|
MenuFaq: FAQ
|
||||||
|
|||||||
@ -1428,6 +1428,8 @@ MenuAllocationUsers: Applicants
|
|||||||
MenuAllocationPriorities: Central priorities
|
MenuAllocationPriorities: Central priorities
|
||||||
MenuAllocationCompute: Compute allocation
|
MenuAllocationCompute: Compute allocation
|
||||||
MenuAllocationAccept: Accept allocation
|
MenuAllocationAccept: Accept allocation
|
||||||
|
MenuApiDocs: API documentation
|
||||||
|
MenuSwagger: OpenAPI 2.0 (Swagger)
|
||||||
MenuAllocationAddUser: Add applicant
|
MenuAllocationAddUser: Add applicant
|
||||||
MenuFaq: FAQ
|
MenuFaq: FAQ
|
||||||
MenuSheetPersonalisedFiles: Download personalised sheet files
|
MenuSheetPersonalisedFiles: Download personalised sheet files
|
||||||
@ -1522,6 +1524,7 @@ BreadcrumbAllocationPriorities: Central priorities
|
|||||||
BreadcrumbAllocationCompute: Compute allocation
|
BreadcrumbAllocationCompute: Compute allocation
|
||||||
BreadcrumbAllocationAccept: Accept allocation
|
BreadcrumbAllocationAccept: Accept allocation
|
||||||
BreadcrumbExternalApis: External APIs
|
BreadcrumbExternalApis: External APIs
|
||||||
|
BreadcrumbApiDocs: API documentation
|
||||||
BreadcrumbSwagger: API documentation
|
BreadcrumbSwagger: API documentation
|
||||||
BreadcrumbAllocationAddUser: Add applicant
|
BreadcrumbAllocationAddUser: Add applicant
|
||||||
BreadcrumbMessageHide: Hide
|
BreadcrumbMessageHide: Hide
|
||||||
|
|||||||
@ -666,6 +666,14 @@ defaultLinks = fmap catMaybes . mapM runMaybeT $ -- Define the menu items of the
|
|||||||
, navQuick' = mempty
|
, navQuick' = mempty
|
||||||
, navForceActive = False
|
, navForceActive = False
|
||||||
}
|
}
|
||||||
|
, return $ NavFooter NavLink
|
||||||
|
{ navLabel = MsgMenuApiDocs
|
||||||
|
, navRoute = ApiDocsR
|
||||||
|
, navAccess' = return True
|
||||||
|
, navType = NavTypeLink { navModal = False }
|
||||||
|
, navQuick' = mempty
|
||||||
|
, navForceActive = False
|
||||||
|
}
|
||||||
, return NavHeader
|
, return NavHeader
|
||||||
{ navHeaderRole = NavHeaderPrimary
|
{ navHeaderRole = NavHeaderPrimary
|
||||||
, navIcon = IconMenuNews
|
, navIcon = IconMenuNews
|
||||||
@ -2564,6 +2572,19 @@ pageActions TopWorkflowInstanceListR = return
|
|||||||
, navChildren = []
|
, navChildren = []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
pageActions ApiDocsR = return
|
||||||
|
[ NavPageActionPrimary
|
||||||
|
{ navLink = NavLink
|
||||||
|
{ navLabel = MsgMenuSwagger
|
||||||
|
, navRoute = SwaggerR
|
||||||
|
, navAccess' = return True
|
||||||
|
, navType = NavTypeLink { navModal = False }
|
||||||
|
, navQuick' = mempty
|
||||||
|
, navForceActive = False
|
||||||
|
}
|
||||||
|
, navChildren = []
|
||||||
|
}
|
||||||
|
]
|
||||||
pageActions _ = return []
|
pageActions _ = return []
|
||||||
|
|
||||||
submissionList :: ( MonadIO m
|
submissionList :: ( MonadIO m
|
||||||
|
|||||||
Reference in New Issue
Block a user