2019-06-07 22:29:29 +02:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 19:56:10 -03:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository diff {{if .PageIsComparePull}}compare pull{{end}}">
|
2019-06-07 22:29:29 +02:00
|
|
|
{{template "repo/header" .}}
|
2025-01-02 01:16:09 +08:00
|
|
|
|
2026-01-01 10:32:19 -08:00
|
|
|
{{$compareSeparator := $.CompareInfo.CompareSeparator}}
|
|
|
|
|
{{$compareSeparatorSwitch := Iif $.CompareInfo.DirectComparison "..." ".."}}
|
2023-11-23 23:52:57 +08:00
|
|
|
<div class="ui container fluid padded">
|
2025-01-02 01:16:09 +08:00
|
|
|
<h2 class="ui header">
|
|
|
|
|
{{if and $.PageIsComparePull $.IsSigned (not .Repository.IsArchived)}}
|
2026-01-01 10:32:19 -08:00
|
|
|
{{ctx.Locale.Tr "repo.compare.title"}}
|
|
|
|
|
<div class="sub header">{{ctx.Locale.Tr "repo.compare.description"}}</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{else}}
|
|
|
|
|
{{ctx.Locale.Tr "action.compare_commits_general"}}
|
|
|
|
|
{{end}}
|
|
|
|
|
</h2>
|
2026-05-08 21:08:36 +02:00
|
|
|
{{template "base/alert" .}}
|
2026-04-14 02:42:56 +08:00
|
|
|
{{$BaseCompareName := $.Repository.FullName -}}
|
|
|
|
|
{{$HeadCompareName := $.HeadRepo.FullName -}}
|
|
|
|
|
{{$OwnForkCompareName := "" -}}
|
|
|
|
|
{{if $.OwnForkRepo -}}
|
|
|
|
|
{{$OwnForkCompareName = $.OwnForkRepo.FullName -}}
|
|
|
|
|
{{end -}}
|
|
|
|
|
{{$RootRepoCompareName := "" -}}
|
|
|
|
|
{{if $.RootRepo -}}
|
|
|
|
|
{{$RootRepoCompareName = $.RootRepo.FullName -}}
|
|
|
|
|
{{end -}}
|
2025-01-02 01:16:09 +08:00
|
|
|
|
|
|
|
|
<div class="ui segment choose branch">
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="tw-mr-2" href="{{$.HeadRepo.Link}}/compare/{{PathEscapeSegments $.HeadBranch}}{{$compareSeparator}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.BaseName}}/{{PathEscape $.Repository.Name}}:{{end}}{{PathEscapeSegments $.BaseBranch}}" title="{{ctx.Locale.Tr "repo.pulls.switch_head_and_base"}}">{{svg "octicon-git-compare"}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="ui dropdown jump select-branch">
|
|
|
|
|
<div class="ui basic small button">
|
2025-04-22 07:14:38 +08:00
|
|
|
<span class="text">{{if $.PageIsComparePull}}{{ctx.Locale.Tr "repo.pulls.compare_base"}}{{else}}{{ctx.Locale.Tr "repo.compare.compare_base"}}{{end}}: <strong>{{$BaseCompareName}}:{{$.BaseBranch}}</strong></span>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
2019-06-07 22:29:29 +02:00
|
|
|
</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="menu">
|
|
|
|
|
<div class="ui icon search input">
|
|
|
|
|
<i class="icon">{{svg "octicon-filter" 16}}</i>
|
|
|
|
|
<input name="search" placeholder="{{ctx.Locale.Tr "repo.filter_branch_and_tag"}}...">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="header">
|
|
|
|
|
<div class="ui grid">
|
|
|
|
|
<div class="two column row">
|
|
|
|
|
<a class="reference column" href="#" data-target=".base-branch-list">
|
2026-02-22 23:56:33 +01:00
|
|
|
<span class="tw-text-text">
|
2025-01-02 01:16:09 +08:00
|
|
|
{{svg "octicon-git-branch"}} {{ctx.Locale.Tr "repo.branches"}}
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="reference column" href="#" data-target=".base-tag-list">
|
2026-02-22 23:56:33 +01:00
|
|
|
<span class="tw-text-text">
|
2025-01-02 01:16:09 +08:00
|
|
|
{{svg "octicon-tag"}} {{ctx.Locale.Tr "repo.tags"}}
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
2021-05-07 17:10:05 -04:00
|
|
|
</div>
|
2019-06-07 22:29:29 +02:00
|
|
|
</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="scrolling menu reference-list-menu base-branch-list">
|
|
|
|
|
{{range .Branches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item {{if eq $.BaseBranch .}}selected{{end}}" href="{{$.RepoLink}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{end}}{{PathEscapeSegments $.HeadBranch}}">{{$BaseCompareName}}:{{.}}</a>
|
2019-06-07 22:29:29 +02:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if not .PullRequestCtx.SameRepo}}
|
|
|
|
|
{{range .HeadBranches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.HeadRepo.Link}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{PathEscapeSegments $.HeadBranch}}">{{$HeadCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2020-05-12 06:52:46 +01:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if .OwnForkRepo}}
|
|
|
|
|
{{range .OwnForkRepoBranches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.OwnForkRepo.Link}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{PathEscapeSegments $.HeadBranch}}">{{$OwnForkCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2020-05-12 06:52:46 +01:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if and .RootRepo (.RootRepo.AllowsPulls ctx)}}
|
|
|
|
|
{{range .RootRepoBranches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RootRepo.Link}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{PathEscapeSegments $.HeadBranch}}">{{$RootRepoCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2019-10-30 13:58:18 +08:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="scrolling menu reference-list-menu base-tag-list tw-hidden">
|
|
|
|
|
{{range .Tags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item {{if eq $.BaseBranch .}}selected{{end}}" href="{{$.RepoLink}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{end}}{{PathEscapeSegments $.HeadBranch}}">{{$BaseCompareName}}:{{.}}</a>
|
2021-05-07 17:10:05 -04:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if not .PullRequestCtx.SameRepo}}
|
|
|
|
|
{{range .HeadTags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.HeadRepo.Link}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{PathEscapeSegments $.HeadBranch}}">{{$HeadCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2021-05-07 17:10:05 -04:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if .OwnForkRepo}}
|
|
|
|
|
{{range .OwnForkRepoTags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.OwnForkRepo.Link}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{PathEscapeSegments $.HeadBranch}}">{{$OwnForkCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
|
|
|
|
{{end}}
|
|
|
|
|
{{if .RootRepo}}
|
|
|
|
|
{{range .RootRepoTags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RootRepo.Link}}/compare/{{PathEscapeSegments .}}{{$compareSeparator}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{PathEscapeSegments $.HeadBranch}}">{{$RootRepoCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
|
|
|
|
{{end}}
|
|
|
|
|
</div>
|
2019-06-07 22:29:29 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
|
2026-01-01 10:32:19 -08:00
|
|
|
<a href="{{.RepoLink}}/compare/{{PathEscapeSegments .BaseBranch}}{{$compareSeparatorSwitch}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{end}}{{PathEscapeSegments $.HeadBranch}}" title="{{ctx.Locale.Tr "repo.pulls.switch_comparison_type"}}">{{svg "octicon-arrow-left" 16}}<div class="compare-separator">{{$compareSeparator}}</div></a>
|
2025-01-02 01:16:09 +08:00
|
|
|
|
|
|
|
|
<div class="ui dropdown jump select-branch">
|
|
|
|
|
<div class="ui basic small button">
|
2025-04-22 07:14:38 +08:00
|
|
|
<span class="text">{{if $.PageIsComparePull}}{{ctx.Locale.Tr "repo.pulls.compare_compare"}}{{else}}{{ctx.Locale.Tr "repo.compare.compare_head"}}{{end}}: <strong>{{$HeadCompareName}}:{{$.HeadBranch}}</strong></span>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
2019-06-07 22:29:29 +02:00
|
|
|
</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="menu">
|
|
|
|
|
<div class="ui icon search input">
|
|
|
|
|
<i class="icon">{{svg "octicon-filter" 16}}</i>
|
|
|
|
|
<input name="search" placeholder="{{ctx.Locale.Tr "repo.filter_branch_and_tag"}}...">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="header">
|
|
|
|
|
<div class="ui grid">
|
|
|
|
|
<div class="two column row">
|
|
|
|
|
<a class="reference column" href="#" data-target=".head-branch-list">
|
2026-02-22 23:56:33 +01:00
|
|
|
<span class="tw-text-text">
|
2025-01-02 01:16:09 +08:00
|
|
|
{{svg "octicon-git-branch"}} {{ctx.Locale.Tr "repo.branches"}}
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a class="reference column" href="#" data-target=".head-tag-list">
|
2026-02-22 23:56:33 +01:00
|
|
|
<span class="tw-text-text">
|
2025-01-02 01:16:09 +08:00
|
|
|
{{svg "octicon-tag"}} {{ctx.Locale.Tr "repo.tags"}}
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
2021-05-07 17:10:05 -04:00
|
|
|
</div>
|
2019-06-07 22:29:29 +02:00
|
|
|
</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="scrolling menu reference-list-menu head-branch-list">
|
|
|
|
|
{{range .HeadBranches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="{{if eq $.HeadBranch .}}selected{{end}} item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{end}}{{PathEscapeSegments .}}">{{$HeadCompareName}}:{{.}}</a>
|
2020-05-12 06:52:46 +01:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if not .PullRequestCtx.SameRepo}}
|
|
|
|
|
{{range .Branches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{PathEscape $.BaseName}}/{{PathEscape $.Repository.Name}}:{{PathEscapeSegments .}}">{{$BaseCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2020-05-12 06:52:46 +01:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if .OwnForkRepo}}
|
|
|
|
|
{{range .OwnForkRepoBranches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{PathEscape $.OwnForkRepo.OwnerName}}/{{PathEscape $.OwnForkRepo.Name}}:{{PathEscapeSegments .}}">{{$OwnForkCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2020-05-12 06:52:46 +01:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if .RootRepo}}
|
|
|
|
|
{{range .RootRepoBranches}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{PathEscape $.RootRepo.OwnerName}}/{{PathEscape $.RootRepo.Name}}:{{PathEscapeSegments .}}">{{$RootRepoCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2019-06-07 22:29:29 +02:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="scrolling menu reference-list-menu head-tag-list tw-hidden">
|
|
|
|
|
{{range .HeadTags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="{{if eq $.HeadBranch .}}selected{{end}} item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{if not $.PullRequestCtx.SameRepo}}{{PathEscape $.HeadUser.Name}}/{{PathEscape $.HeadRepo.Name}}:{{end}}{{PathEscapeSegments .}}">{{$HeadCompareName}}:{{.}}</a>
|
2021-05-07 17:10:05 -04:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if not .PullRequestCtx.SameRepo}}
|
|
|
|
|
{{range .Tags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{PathEscape $.BaseName}}/{{PathEscape $.Repository.Name}}:{{PathEscapeSegments .}}">{{$BaseCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
2021-05-07 17:10:05 -04:00
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if .OwnForkRepo}}
|
|
|
|
|
{{range .OwnForkRepoTags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{PathEscape $.OwnForkRepo.OwnerName}}/{{PathEscape $.OwnForkRepo.Name}}:{{PathEscapeSegments .}}">{{$OwnForkCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
|
|
|
|
{{end}}
|
|
|
|
|
{{if .RootRepo}}
|
|
|
|
|
{{range .RootRepoTags}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<a class="item" href="{{$.RepoLink}}/compare/{{PathEscapeSegments $.BaseBranch}}{{$compareSeparator}}{{PathEscape $.RootRepo.OwnerName}}/{{PathEscape $.RootRepo.Name}}:{{PathEscapeSegments .}}">{{$RootRepoCompareName}}:{{.}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
|
|
|
|
{{end}}
|
|
|
|
|
</div>
|
2019-06-07 22:29:29 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2025-01-02 01:16:09 +08:00
|
|
|
{{$showDiffBox := and .CommitCount (not .IsNothingToCompare)}}
|
|
|
|
|
{{if and .IsSigned .PageIsComparePull}}
|
2026-01-01 10:32:19 -08:00
|
|
|
{{$allowCreatePR := and ($.CompareInfo.BaseRef.IsBranch) ($.CompareInfo.HeadRef.IsBranch) (not $.CompareInfo.DirectComparison) (or $.AllowEmptyPr (not .IsNothingToCompare))}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{if .IsNothingToCompare}}
|
|
|
|
|
<div class="ui segment">
|
|
|
|
|
{{if $allowCreatePR}}
|
|
|
|
|
{{ctx.Locale.Tr "repo.pulls.nothing_to_compare_and_allow_empty_pr"}}
|
2026-01-01 10:32:19 -08:00
|
|
|
{{else if and $.CompareInfo.BaseRef.IsBranch $.CompareInfo.HeadRef.IsBranch}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{ctx.Locale.Tr "repo.pulls.nothing_to_compare"}}
|
|
|
|
|
{{else}}
|
|
|
|
|
{{ctx.Locale.Tr "repo.pulls.nothing_to_compare_have_tag"}}
|
|
|
|
|
{{end}}
|
2023-05-09 13:21:03 +08:00
|
|
|
</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{end}}
|
|
|
|
|
{{if .HasPullRequest}}
|
|
|
|
|
<div class="ui segment flex-text-block tw-gap-4">
|
|
|
|
|
{{template "shared/issueicon" .}}
|
|
|
|
|
<div class="issue-title tw-break-anywhere">
|
2025-05-09 20:42:35 +08:00
|
|
|
{{ctx.RenderUtils.RenderIssueTitle .PullRequest.Issue.Title $.Repository}}
|
2025-01-02 01:16:09 +08:00
|
|
|
<span class="index">#{{.PullRequest.Issue.Index}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="{{$.RepoLink}}/pulls/{{.PullRequest.Issue.Index}}" class="ui compact button primary">
|
|
|
|
|
{{ctx.Locale.Tr "repo.pulls.view"}}
|
|
|
|
|
</a>
|
2020-05-04 17:44:30 -05:00
|
|
|
</div>
|
|
|
|
|
{{else if .Repository.IsArchived}}
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="ui warning message">
|
2023-04-26 16:46:26 +02:00
|
|
|
{{if .Repository.ArchivedUnix.IsZero}}
|
2023-09-25 10:56:50 +02:00
|
|
|
{{ctx.Locale.Tr "repo.archive.title"}}
|
2023-04-26 16:46:26 +02:00
|
|
|
{{else}}
|
2024-11-04 19:30:00 +08:00
|
|
|
{{ctx.Locale.Tr "repo.archive.title_date" (DateUtils.AbsoluteLong .Repository.ArchivedUnix)}}
|
2023-04-26 16:46:26 +02:00
|
|
|
{{end}}
|
2020-05-04 17:44:30 -05:00
|
|
|
</div>
|
2025-01-02 01:16:09 +08:00
|
|
|
{{else if $allowCreatePR}}
|
2026-01-01 10:32:19 -08:00
|
|
|
<div class="ui info message flex-text-block pullrequest-form-toggle {{if .ExpandNewPrForm}}tw-hidden{{end}}">
|
|
|
|
|
<span class="tw-flex-1">{{ctx.Locale.Tr "repo.pulls.new.description"}}</span>
|
|
|
|
|
<a class="ui button primary show-panel toggle" data-panel=".pullrequest-form-toggle, .pullrequest-form">{{ctx.Locale.Tr "repo.pulls.new"}}</a>
|
2025-01-02 01:16:09 +08:00
|
|
|
</div>
|
2025-03-24 22:28:02 +08:00
|
|
|
<div class="pullrequest-form {{if not .ExpandNewPrForm}}tw-hidden{{end}}">
|
2020-05-04 17:44:30 -05:00
|
|
|
{{template "repo/issue/new_form" .}}
|
|
|
|
|
</div>
|
|
|
|
|
{{end}}
|
2025-01-02 01:16:09 +08:00
|
|
|
{{else}}{{/* not singed-in or not for pull-request */}}
|
2026-05-11 20:07:23 +02:00
|
|
|
{{if and (not .CommitCount) $.CompareInfo.MergeBase}}
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="ui segment">{{ctx.Locale.Tr "repo.commits.nothing_to_compare"}}</div>
|
|
|
|
|
{{end}}
|
2020-05-04 17:44:30 -05:00
|
|
|
{{end}}
|
2023-05-09 13:21:03 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{{if $showDiffBox}}
|
2025-01-02 01:16:09 +08:00
|
|
|
<div class="ui container fluid padded tw-my-4">
|
|
|
|
|
{{template "repo/commits_table" .}}
|
|
|
|
|
{{template "repo/diff/box" .}}
|
|
|
|
|
</div>
|
2023-05-09 13:21:03 +08:00
|
|
|
{{end}}
|
2019-06-07 22:29:29 +02:00
|
|
|
</div>
|
|
|
|
|
{{template "base/footer" .}}
|