fix writer cannot read bare repo guide (#4033) (#4039)

This commit is contained in:
Lunny Xiao 2018-05-24 22:44:21 +08:00 committed by GitHub
parent 910e379265
commit 804148294a
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="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>