diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl
index d2e9e256d..68ab36b59 100644
--- a/templates/repo/settings/deploy_keys.tmpl
+++ b/templates/repo/settings/deploy_keys.tmpl
@@ -4,6 +4,45 @@
{{template "repo/settings/navbar" .}}
{{template "base/alert" .}}
+
diff --git a/web_src/js/index.js b/web_src/js/index.js
index d6787e89b..868b3ad04 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -2750,6 +2750,9 @@ $(document).ready(async () => {
$('.show-panel.button').on('click', function () {
$($(this).data('panel')).show();
});
+ $('.hide-panel.button').on('click', function () {
+ $($(this).data('panel')).hide();
+ });
$('.show-create-branch-modal.button').on('click', function () {
$('#create-branch-form')[0].action = $('#create-branch-form').data('base-action') + $(this).data('branch-from');
$('#modal-create-branch-from-span').text($(this).data('branch-from'));