2015-07-24 02:20:05 +05:30
{{ template "base/head" . }}
2023-04-07 05:41:02 +05:30
< div role = "main" aria-label = " {{ .Title }} " class = "page-content repository issue-list" >
2015-07-24 02:20:05 +05:30
{{ template "repo/header" . }}
2015-08-09 20:15:38 +05:30
< div class = "ui container" >
2024-03-21 20:37:35 +05:30
{{ template "base/alert" . }}
2023-05-25 18:47:19 +05:30
{{ if .PinnedIssues }}
< div id = "issue-pins" {{ if .IsRepoAdmin }} data-is-repo-admin {{ end }} >
{{ range .PinnedIssues }}
2024-03-04 09:03:20 +05:30
< div class = "issue-card gt-word-break {{ if $.IsRepoAdmin }} tw-cursor-grab {{ end }} " data-move-url = " {{ $.Link }} /move_pin" data-issue-id = " {{ .ID }} " >
2023-08-12 16:00:28 +05:30
{{ template "repo/issue/card" ( dict "Issue" . "Page" $ "isPinnedIssueCard" true ) }}
2023-05-25 18:47:19 +05:30
< / div >
{{ end }}
< / div >
{{ end }}
2024-03-28 18:53:57 +05:30
< div class = "list-header list-header-issues" >
2023-04-30 09:03:25 +05:30
{{ template "repo/issue/navbar" . }}
{{ template "repo/issue/search" . }}
2019-01-24 00:28:38 +05:30
{{ if not .Repository.IsArchived }}
2023-04-30 09:03:25 +05:30
{{ if .PageIsIssueList }}
2023-09-25 14:26:50 +05:30
< a class = "ui small primary button issue-list-new" href = " {{ .RepoLink }} /issues/new {{ if .NewIssueChooseTemplate }} /choose {{ end }} " > {{ ctx .Locale.Tr "repo.issues.new" }} </ a >
2023-04-30 09:03:25 +05:30
{{ else }}
2023-09-25 14:26:50 +05:30
< a class = "ui small primary button new-pr-button issue-list-new {{ if not .PullRequestCtx.Allowed }} disabled {{ end }} " href = " {{ if .PullRequestCtx.Allowed }}{{ .Repository.Link }} /compare/ {{ .Repository.DefaultBranch | PathEscapeSegments }} ... {{ if ne .Repository.Owner.Name .PullRequestCtx.BaseRepo.Owner.Name }}{{ PathEscape .Repository.Owner.Name }} : {{ end }}{{ .Repository.DefaultBranch | PathEscapeSegments }}{{ end }} " > {{ ctx .Locale.Tr "repo.pulls.new" }} </ a >
2023-04-30 09:03:25 +05:30
{{ end }}
2019-06-29 14:48:49 +05:30
{{ else }}
{{ if not .PageIsIssueList }}
2023-09-25 14:26:50 +05:30
< a class = "ui small primary small button issue-list-new {{ if not .PullRequestCtx.Allowed }} disabled {{ end }} " href = " {{ if .PullRequestCtx.Allowed }}{{ .PullRequestCtx.BaseRepo.Link }} /compare/ {{ .PullRequestCtx.BaseRepo.DefaultBranch | PathEscapeSegments }} ... {{ if ne .Repository.Owner.Name .PullRequestCtx.BaseRepo.Owner.Name }}{{ PathEscape .Repository.Owner.Name }} : {{ end }}{{ .Repository.DefaultBranch | PathEscapeSegments }}{{ end }} " > {{ ctx .Locale.Tr "action.compare_commits_general" }} </ a >
2019-06-29 14:48:49 +05:30
{{ end }}
2019-01-24 00:28:38 +05:30
{{ end }}
2015-07-24 02:20:05 +05:30
< / div >
2015-08-15 08:54:41 +05:30
2023-07-14 01:30:38 +05:30
{{ template "repo/issue/filters" . }}
2023-04-30 21:21:20 +05:30
2024-03-24 23:53:38 +05:30
< div id = "issue-actions" class = "issue-list-toolbar tw-hidden" >
2023-04-30 21:21:20 +05:30
< div class = "issue-list-toolbar-left" >
2020-11-29 21:22:11 +05:30
{{ template "repo/issue/openclose" . }}
2023-10-19 19:38:31 +05:30
<!-- Total Tracked Time -->
{{ if .TotalTrackedTime }}
< div class = "ui compact tiny secondary menu" >
< span class = "item" data-tooltip-content = ' {{ ctx .Locale.Tr "tracked_time_summary" }} ' >
{{ svg "octicon-clock" }}
{{ .TotalTrackedTime | Sec2Time }}
< / span >
< / div >
{{ end }}
2015-08-15 09:37:08 +05:30
< / div >
2023-04-30 21:21:20 +05:30
< div class = "issue-list-toolbar-right" >
2023-10-01 18:34:39 +05:30
{{ template "repo/issue/filter_actions" . }}
2015-07-24 02:20:05 +05:30
< / div >
< / div >
2023-04-07 20:09:08 +05:30
{{ template "shared/issuelist" dict "." . "listType" "repo" }}
2015-07-24 02:20:05 +05:30
< / div >
2014-03-25 20:30:26 +05:30
< / div >
2015-07-31 01:44:52 +05:30
{{ template "base/footer" . }}