From b53283346609815a0069713f2e1b171a12a7aab0 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Tue, 30 Mar 2021 13:13:02 +0200 Subject: [PATCH] Merge pull request #3842 from overleaf/jpa-persistent-navigation-between-tabs [views] admin: persist the navigation between tabs into the URL GitOrigin-RevId: 202793b9d0b17934bb952e0283228603e036dbc9 --- services/web/app/views/admin/index.pug | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/web/app/views/admin/index.pug b/services/web/app/views/admin/index.pug index 9a59ee53a9..51fbc00787 100644 --- a/services/web/app/views/admin/index.pug +++ b/services/web/app/views/admin/index.pug @@ -8,8 +8,8 @@ block content .card .page-header h1 Admin Panel - tabset(ng-cloak) - tab(heading="System Messages") + tabset(bookmarkable-tabset ng-cloak) + tab(heading="System Messages" bookmarkable-tab="system-messages") each message in systemMessages .alert.alert-info.row-spaced(ng-non-bindable) #{message.content} hr @@ -25,7 +25,7 @@ block content button.btn.btn-danger(type="submit") Clear all messages - tab(heading="Open Sockets") + tab(heading="Open Sockets" bookmarkable-tab="open-sockets") .row-spaced ul each agents, url in openSockets @@ -34,7 +34,7 @@ block content each agent in agents li(ng-non-bindable) #{agent} - tab(heading="Open/Close Editor") + tab(heading="Open/Close Editor" bookmarkable-tab="open-close-editor") if hasFeature('saas') | The "Open/Close Editor" feature is not available in SAAS. else @@ -56,7 +56,7 @@ block content button.btn.btn-danger(type="submit") Reopen Editor p.small Will reopen the editor after closing. - tab(heading="TPDS/Dropbox Management") + tab(heading="TPDS/Dropbox Management" bookmarkable-tab="tpds") h3 Flush project to TPDS .row form.col-xs-6(method='post',action='/admin/flushProjectToTpds')