2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-09-05 16:55:16 +00:00

Add pending batch and scheduled batch data in the portal (#758)

This commit is contained in:
Britney Wright
2019-08-02 17:02:18 -04:00
committed by GitHub
parent 42455f68a1
commit c1d960e937
13 changed files with 196 additions and 25 deletions

View File

@@ -100,7 +100,9 @@ class FrontendController @Inject()(
}
def index(): Action[AnyContent] = userAction.async { implicit request =>
Future(Ok(views.html.batchChanges.batchChanges(request.user.userName)))
Future(
Ok(views.html.batchChanges
.batchChanges(request.user.userName, request.user.isSuper, request.user.isSupport)))
}
def viewAllGroups(): Action[AnyContent] = userAction.async { implicit request =>
@@ -121,7 +123,9 @@ class FrontendController @Inject()(
}
def viewAllBatchChanges(): Action[AnyContent] = userAction.async { implicit request =>
Future(Ok(views.html.batchChanges.batchChanges(request.user.userName)))
Future(
Ok(views.html.batchChanges
.batchChanges(request.user.userName, request.user.isSuper, request.user.isSupport)))
}
def viewBatchChange(batchId: String): Action[AnyContent] = userAction.async { implicit request =>