diff options
author | Adam Strzelecki <ono@java.pl> | 2015-12-03 02:15:00 +0100 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-12-03 02:16:18 +0100 |
commit | 2580e7b57e60011766cf58a6c7cce421e193a668 (patch) | |
tree | 53f7d3a009eabaad82897dca207da31c215f1e18 /templates/repo/wiki | |
parent | b83cb36049e9edb6722dc2765c06a159fa7e2a19 (diff) | |
download | gitea-2580e7b57e60011766cf58a6c7cce421e193a668.tar.gz gitea-2580e7b57e60011766cf58a6c7cce421e193a668.zip |
UI: Always show menu on repo pages
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r-- | templates/repo/wiki/new.tmpl | 1 | ||||
-rw-r--r-- | templates/repo/wiki/pages.tmpl | 1 | ||||
-rw-r--r-- | templates/repo/wiki/start.tmpl | 1 | ||||
-rw-r--r-- | templates/repo/wiki/view.tmpl | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl index be7a357fe1..09c33415ba 100644 --- a/templates/repo/wiki/new.tmpl +++ b/templates/repo/wiki/new.tmpl @@ -1,7 +1,6 @@ {{template "base/head" .}} <div class="repository wiki new"> {{template "repo/header" .}} - {{template "repo/sidebar" .}} <div class="ui container"> {{template "base/alert" .}} <div class="ui header"> diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index f8bff23221..468357a63f 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -1,7 +1,6 @@ {{template "base/head" .}} <div class="repository wiki pages"> {{template "repo/header" .}} - {{template "repo/sidebar" .}} <div class="ui container"> <div class="ui header"> {{.i18n.Tr "repo.wiki.pages"}} diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl index 641822ddf3..babc329336 100644 --- a/templates/repo/wiki/start.tmpl +++ b/templates/repo/wiki/start.tmpl @@ -1,7 +1,6 @@ {{template "base/head" .}} <div class="repository wiki start"> {{template "repo/header" .}} - {{template "repo/sidebar" .}} <div class="ui container"> <div class="ui center segment"> <span class="mega-octicon octicon-book"></span> diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index bfd0a8b601..c052bedb7d 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -1,7 +1,6 @@ {{template "base/head" .}} <div class="repository wiki view"> {{template "repo/header" .}} - {{template "repo/sidebar" .}} <div class="ui container"> <div class="ui grid"> <div class="ui ten wide column"> |