mirror of https://github.com/gogs/gogs.git
templates/repo: show quick guide to people with write permission (#4646)
Used to only show people who has admin permission.pull/4985/merge
parent
c3c7944d79
commit
c17a6ff533
2
gogs.go
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
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.11.40.0321
|
||||
0.11.41.0329
|
|
@ -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…
Reference in New Issue