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
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<div class="ui grid"> <div class="ui grid">
<div class="sixteen wide column content"> <div class="sixteen wide column content">
{{template "base/alert" .}} {{template "base/alert" .}}
{{if .IsRepositoryAdmin}} {{if .IsRepositoryWriter}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "repo.quick_guide"}} {{.i18n.Tr "repo.quick_guide"}}
</h4> </h4>