aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-03-29 05:57:08 -0400
committerUnknwon <u@gogs.io>2018-03-29 05:57:11 -0400
commitc17a6ff533442a67d61e860dd8d6f989ec367664 (patch)
tree53e35a63833b9a7fd164953bcbe6d2703776aaef
parentc3c7944d79cd9ff7f5068fc854687deb342ffda8 (diff)
templates/repo: show quick guide to people with write permission (#4646)
Used to only show people who has admin permission.
-rw-r--r--gogs.go2
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/repo/bare.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/gogs.go b/gogs.go
index ca60023d..392d634a 100644
--- a/gogs.go
+++ b/gogs.go
@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/pkg/setting"
)
-const APP_VER = "0.11.40.0321"
+const APP_VER = "0.11.41.0329"
func init() {
setting.AppVer = APP_VER
diff --git a/templates/.VERSION b/templates/.VERSION
index a23f687e..74131b7d 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.11.40.0321 \ No newline at end of file
+0.11.41.0329 \ No newline at end of file
diff --git a/templates/repo/bare.tmpl b/templates/repo/bare.tmpl
index b4bcc47c..1a967a50 100644
--- a/templates/repo/bare.tmpl
+++ b/templates/repo/bare.tmpl
@@ -5,7 +5,7 @@
<div class="ui grid">
<div class="sixteen wide column content">
{{template "base/alert" .}}
- {{if .IsRepositoryAdmin}}
+ {{if .IsRepositoryWriter}}
<h4 class="ui top attached header">
{{.i18n.Tr "repo.quick_guide"}}
</h4>