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.

31 lines
1.0 KiB

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