fix writer cannot read bare repo guide (#4033)

This commit is contained in:
Lunny Xiao 2018-05-24 22:28:53 +08:00 committed by GitHub
parent 11da1e6146
commit 3623f12a28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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