update with suggested code

This commit is contained in:
techknowlogick 2018-06-11 14:56:35 -04:00 committed by GitHub
parent 059dba5f90
commit 8a36cf29e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,10 @@
<span><i class="octicon octicon-repo-forked"></i></span>
{{else if .IsMirror}}
<span><i class="octicon octicon-repo-clone"></i></span>
{{else if eq .Owner.Visibility 3}}
<span class="text gold"><i class="octicon octicon-lock"></i></span>
{{else if .Owner}}
{{if eq .Owner.Visibility 3}}
<span class="text gold"><i class="octicon octicon-lock"></i></span>
{{end}}
{{end}}
<div class="ui right metas">