Browse Source

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

Used to only show people who has admin permission.
pull/4985/merge
Unknwon 7 years ago
parent
commit
c17a6ff533
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      gogs.go
  2. 2
      templates/.VERSION
  3. 2
      templates/repo/bare.tmpl

2
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

2
templates/.VERSION

@ -1 +1 @@
0.11.40.0321
0.11.41.0329

2
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>

Loading…
Cancel
Save