files.tmpl 693 B

1234567891011121314151617181920
  1. {{template "base/head" .}}
  2. <div class="repository view issue pull files diff">
  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 {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName}}...{{.PullRequestCtx.HeadInfo}}">{{.i18n.Tr "repo.pulls.new"}}</a>
  9. </div>
  10. </div>
  11. <div class="ui divider"></div>
  12. {{template "repo/issue/view_title" .}}
  13. {{template "repo/pulls/tab_menu" .}}
  14. <div class="ui bottom attached tab pull segment active">
  15. {{template "repo/diff_box" .}}
  16. </div>
  17. </div>
  18. </div>
  19. {{template "base/footer" .}}