summaryrefslogtreecommitdiffstats
path: root/templates/repo/release
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-02 22:40:22 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-02 22:40:22 +0100
commit3eae4ecde76d3196b8fb5c7d4482c74e438d5a87 (patch)
tree85cad176988cc716a9a5e7ca4f0daa6ec3d6ee29 /templates/repo/release
parentec98deeb8cc6727a01ac8510805d66acd2c7d152 (diff)
downloadgitea-3eae4ecde76d3196b8fb5c7d4482c74e438d5a87.tar.gz
gitea-3eae4ecde76d3196b8fb5c7d4482c74e438d5a87.zip
UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and in style with rest of the interface.
Diffstat (limited to 'templates/repo/release')
-rw-r--r--templates/repo/release/list.tmpl2
-rw-r--r--templates/repo/release/new.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl
index b8a8dff2f2..5c3aaae7ff 100644
--- a/templates/repo/release/list.tmpl
+++ b/templates/repo/release/list.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
<div class="repository release">
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
<div class="ui container">
- {{template "repo/sidebar" .}}
{{template "base/alert" .}}
<h2 class="ui header">
{{.i18n.Tr "repo.release.releases"}}
diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl
index b966eb6c0b..fcf030314a 100644
--- a/templates/repo/release/new.tmpl
+++ b/templates/repo/release/new.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
<div class="repository new release">
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
<div class="ui container">
- {{template "repo/sidebar" .}}
<h2 class="ui dividing header">
{{if .PageIsEditRelease}}
{{.i18n.Tr "repo.release.edit_release"}}