view.tmpl 716 B

1234567891011121314151617181920212223
  1. {{template "base/head" .}}
  2. <div class="repository view issue pull">
  3. {{template "repo/header" .}}
  4. <div class="ui container">
  5. <div class="navbar">
  6. {{template "repo/issue/navbar" .}}
  7. <div class="ui right">
  8. <a class="ui green button" href="{{$.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
  9. </div>
  10. </div>
  11. <div class="ui divider"></div>
  12. {{if .Issue.IsPull}}
  13. {{template "repo/issue/view_title" .}}
  14. {{template "repo/pulls/tab_menu" .}}
  15. <div class="ui bottom attached tab pull segment active" data-tab="request-{{.ID}}">
  16. {{template "repo/issue/view_content" .}}
  17. </div>
  18. {{else}}
  19. {{template "repo/issue/view_content" .}}
  20. {{end}}
  21. </div>
  22. </div>
  23. {{template "base/footer" .}}