You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.7 KiB

10 years ago
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. {{template "repo/nav" .}}
  4. {{template "repo/toolbar" .}}
  5. <div id="body" class="container">
  6. <div id="issue">
  7. <div class="col-md-3 filter-list">
  8. <ul class="list-unstyled">
  9. <li><a href="#" class="active">All Issues <strong class="pull-right">{{.IssueCount}}</strong></a></li>
  10. <li><a href="#">My Issues</a></li>
  11. <li><a href="#">Mentioned</a></li>
  12. </ul>
  13. </div>
  14. <div class="col-md-9">
  15. <div class="filter-option">
  16. <div class="btn-group">
  17. <a class="btn btn-default active issue-open" href="#">{{.OpenCount}} Open</a>
  18. <a class="btn btn-default issue-close" href="#">{{.ClosedCount}} Closed</a>
  19. </div>
  20. </div>
  21. <div class="issues list-group">
  22. {{range .Issues}}
  23. <div class="list-group-item issue-item" id="issue-{{.Id}}">
  24. <span class="number pull-right">#{{.Index}}</span>
  25. <h5 class="title"><a href="/{{$.RepositoryLink}}/issues/{{.Index}}">{{.Name}}</a></h5>
  26. <p class="info">
  27. <span class="author"><img class="avatar" src="{{.Poster.AvatarLink}}" alt="" width="20"/>
  28. <a href="/user/{{.Poster.Name}}">{{.Poster.Name}}</a></span>
  29. <span class="time">{{TimeSince .Created}}</span>
  30. <span class="comment"><i class="fa fa-comments"></i> {{.NumComments}}</span>
  31. </p>
  32. </div>
  33. {{end}}
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. {{template "base/footer" .}}