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.

29 lines
985 B

10 years ago
  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. {{if .PageIsIssueList}}
  9. <a class="ui green button" href="{{.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
  10. {{else}}
  11. <a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName}}...{{.PullRequestCtx.HeadInfo}}">{{.i18n.Tr "repo.pulls.new"}}</a>
  12. {{end}}
  13. </div>
  14. </div>
  15. <div class="ui divider"></div>
  16. {{if .Issue.IsPull}}
  17. {{template "repo/issue/view_title" .}}
  18. {{template "repo/pulls/tab_menu" .}}
  19. <div class="ui bottom attached tab pull segment active" data-tab="request-{{.ID}}">
  20. {{template "repo/issue/view_content" .}}
  21. </div>
  22. {{else}}
  23. <div>
  24. {{template "repo/issue/view_content" .}}
  25. </div>
  26. {{end}}
  27. </div>
  28. </div>
  29. {{template "base/footer" .}}