Browse Source

templates/repo: show quick guide to people with write permission (#4646)

Used to only show people who has admin permission.
Unknwon 6 years ago
parent
commit
c17a6ff533
3 changed files with 3 additions and 3 deletions
  1. 1 1
      gogs.go
  2. 1 1
      templates/.VERSION
  3. 1 1
      templates/repo/bare.tmpl

+ 1 - 1
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

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.40.0321
+0.11.41.0329

+ 1 - 1
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>