- <div class="ui repository list">
- {{range .Repos}}
- <div class="item">
- <div class="ui header">
- {{if .RelAvatarLink}}
- <img class="ui avatar image" src="{{.RelAvatarLink}}"/>
- {{end}}
- <a class="name" href="{{.Link}}">
- {{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}
- {{if .IsArchived}}<i class="archive icon archived-icon"></i>{{end}}
- </a>
- {{if .IsPrivate}}
- <span class="middle text gold">{{svg "octicon-lock" 16}}</span>
- {{else if .IsFork}}
- <span class="middle">{{svg "octicon-repo-forked" 16}}</span>
- {{else if .IsMirror}}
- <span class="middle">{{svg "octicon-repo-clone" 16}}</span>
- {{else if .Owner}}
- {{if .Owner.Visibility.IsPrivate}}
- <span class="text gold">{{svg "octicon-lock" 16}}</span>
- {{end}}
- {{end}}
- </div>
- <div class="description">
- {{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
- <p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSinceUnix .UpdatedUnix $.i18n.Lang}}</p>
- </div>
- </div>
- {{else}}
- <div>
- {{$.i18n.Tr "explore.repo_no_results"}}
- </div>
- {{end}}
- </div>
|