diff --git a/src/routes.ts b/src/routes.ts index 4b9fd1d7..a34f4aba 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -117,6 +117,7 @@ app.get('/notebooks/', requireAuthentication, async (req, res) => { res.render('notebooks', { user: user, notebooks: notebooks, + cluster_admin: userIsClusterAdmin(user), developer: DEVELOPER_MODE, }); } else { diff --git a/views/notebooks.handlebars b/views/notebooks.handlebars index 3cec79fd..062c13a1 100644 --- a/views/notebooks.handlebars +++ b/views/notebooks.handlebars @@ -14,9 +14,47 @@