1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

#3233 code cleanup and minor issue fix

This commit is contained in:
Unknwon
2016-08-11 10:53:51 -07:00
parent 0885784f13
commit 5077408d78
11 changed files with 55 additions and 81 deletions

View File

@@ -6,7 +6,7 @@
<span class="mega-octicon octicon-book"></span>
<h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
<p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
{{if and .IsRepositoryWriter (not .IsRepositoryMirror)}}
{{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
<a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
{{end}}
</div>