From c17a6ff533442a67d61e860dd8d6f989ec367664 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 29 Mar 2018 05:57:08 -0400 Subject: [PATCH] templates/repo: show quick guide to people with write permission (#4646) Used to only show people who has admin permission. --- gogs.go | 2 +- templates/.VERSION | 2 +- templates/repo/bare.tmpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gogs.go b/gogs.go index ca60023d3..392d634aa 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 a23f687e9..74131b7d0 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 b4bcc47c9..1a967a509 100644 --- a/templates/repo/bare.tmpl +++ b/templates/repo/bare.tmpl @@ -5,7 +5,7 @@
{{template "base/alert" .}} - {{if .IsRepositoryAdmin}} + {{if .IsRepositoryWriter}}

{{.i18n.Tr "repo.quick_guide"}}