aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/githook_edit.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/settings/githook_edit.tmpl')
-rw-r--r--templates/repo/settings/githook_edit.tmpl11
1 files changed, 3 insertions, 8 deletions
diff --git a/templates/repo/settings/githook_edit.tmpl b/templates/repo/settings/githook_edit.tmpl
index d4df95b29a..3d212b5ffd 100644
--- a/templates/repo/settings/githook_edit.tmpl
+++ b/templates/repo/settings/githook_edit.tmpl
@@ -1,9 +1,5 @@
-{{template "base/head" .}}
-<div role="main" aria-label="{{.Title}}" class="page-content repository settings edit githook">
- {{template "repo/header" .}}
- {{template "repo/settings/navbar" .}}
- <div class="ui container">
- {{template "base/alert" .}}
+{{template "repo/settings/layout_head" (dict "ctxData" . "pageClass" "repository settings edit githook")}}
+ <div class="repo-setting-content">
<h4 class="ui top attached header">
{{.locale.Tr "repo.settings.githooks"}}
</h4>
@@ -28,5 +24,4 @@
</form>
</div>
</div>
-</div>
-{{template "base/footer" .}}
+{{template "repo/settings/layout_footer" .}}