mirror of
https://github.com/gogs/gogs.git
synced 2025-05-28 02:02:09 +00:00
templates/repo: show quick guide to people with write permission (#4646)
Used to only show people who has admin permission.
This commit is contained in:
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…
x
Reference in New Issue
Block a user