Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

repo_list.tmpl 1.0KB

12345678910111213141516171819202122232425262728
  1. <div class="ui repository list">
  2. {{range .Repos}}
  3. <div class="item">
  4. <div class="ui header">
  5. <a class="name" href="{{.HTMLURL}}">{{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} / {{end}}{{end}}{{.Name}}</a>
  6. {{if .IsPrivate}}
  7. <span class="text gold"><i class="octicon octicon-lock"></i></span>
  8. {{else if .IsFork}}
  9. <span><i class="octicon octicon-repo-forked"></i></span>
  10. {{else if .IsMirror}}
  11. <span><i class="octicon octicon-repo-clone"></i></span>
  12. {{end}}
  13. <div class="ui right metas">
  14. <span class="text grey"><i class="octicon octicon-star"></i> {{.NumStars}}</span>
  15. <span class="text grey"><i class="octicon octicon-git-branch"></i> {{.NumForks}}</span>
  16. </div>
  17. </div>
  18. {{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}}
  19. <p class="time">{{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Updated $.i18n.Lang}}</p>
  20. </div>
  21. {{else}}
  22. <div>
  23. {{$.i18n.Tr "explore.repo_no_results"}}
  24. </div>
  25. {{end}}
  26. </div>