本站源代码
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

34 lines
1.1KB

  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. {{if not .Repository.IsArchived}}
  10. <div class="column right aligned">
  11. {{if .PageIsIssueList}}
  12. <a class="ui green button" href="{{.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
  13. {{else}}
  14. <a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName | EscapePound}}...{{.PullRequestCtx.HeadInfo | EscapePound}}">{{.i18n.Tr "repo.pulls.new"}}</a>
  15. {{end}}
  16. </div>
  17. {{end}}
  18. </div>
  19. <div class="ui divider"></div>
  20. {{if .Issue.IsPull}}
  21. {{template "repo/issue/view_title" .}}
  22. {{template "repo/pulls/tab_menu" .}}
  23. <div class="ui bottom attached tab pull segment active" data-tab="request-{{.ID}}">
  24. {{template "repo/issue/view_content" .}}
  25. </div>
  26. {{else}}
  27. <div>
  28. {{template "repo/issue/view_content" .}}
  29. </div>
  30. {{end}}
  31. </div>
  32. </div>
  33. {{template "base/footer" .}}
上海开阖软件有限公司 沪ICP备12045867号-1