From 70fe2b34849d95d034ae13d4da5496e26cdb90e8 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Fri, 1 May 2020 23:38:55 -0700 Subject: [PATCH] Add a subnav to the volumes page --- ui/app/router.js | 4 ++++ ui/app/templates/csi/volumes/index.hbs | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ui/app/router.js b/ui/app/router.js index 241e50231..4fa9e490e 100644 --- a/ui/app/router.js +++ b/ui/app/router.js @@ -37,6 +37,10 @@ Router.map(function() { this.route('volumes', function() { this.route('volume', { path: '/:volume_name' }); }); + + this.route('plugins', function() { + this.route('plugin', { path: '/:plugin-name' }); + }); }); this.route('allocations', function() { diff --git a/ui/app/templates/csi/volumes/index.hbs b/ui/app/templates/csi/volumes/index.hbs index e30e139ae..6d86c277c 100644 --- a/ui/app/templates/csi/volumes/index.hbs +++ b/ui/app/templates/csi/volumes/index.hbs @@ -1,4 +1,10 @@ {{title "CSI Volumes"}} +
+ +
{{#if isForbidden}} {{partial "partials/forbidden-message"}}