2015-07-24 04:50:05 +08:00
{{ template "base/head" . }}
2023-04-07 08:11:02 +08:00
<div role="main" aria-label=" {{ .Title }} " class="page-content repository issue-list">
2015-07-24 04:50:05 +08:00
{{ template "repo/header" . }}
2015-08-09 22:45:38 +08:00
<div class="ui container">
2023-05-25 21:17:19 +08:00
{{ if .PinnedIssues }}
<div id="issue-pins" {{ if .IsRepoAdmin }} data-is-repo-admin {{ end }} >
{{ range .PinnedIssues }}
2023-05-30 23:26:51 +08:00
<div class="pinned-issue-card gt-word-break" data-move-url=" {{ $ .Link }} /move_pin" data-issue-id=" {{ .ID }} ">
2023-05-25 21:17:19 +08:00
{{ if eq $ .Project .CardType 1 }}
<div class="card-attachment-images">
{{ range ( in dex $ .issuesAttachmentMap .ID ) }}
<img src=" {{ .DownloadURL }} " alt=" {{ .Name }} ">
{{ end }}
</div>
{{ end }}
<div class="content gt-p-0">
<div class="header gt-df gt-items-start">
<div class="pinned-issue-icon">
{{ template "shared/issueicon" . }}
</div>
<a class="pinned-issue-title muted issue-title" href=" {{ .Link }} "> {{ .Title | RenderEmoji $ .Context | RenderCodeBlock }} </a>
{{ if $ .IsRepoAdmin }}
2023-05-30 23:26:51 +08:00
<a role="button" class="pinned-issue-unpin muted gt-df gt-ac" data-tooltip-content= {{ $ .locale .Tr "repo.issues.unpin_issue" }} data-issue-id=" {{ .ID }} " data-unpin-url=" {{ $ .Link }} /unpin/ {{ .Index }} ">
2023-05-25 21:17:19 +08:00
{{ svg "octicon-x" 1 6 }}
</a>
{{ end }}
</div>
<div class="meta gt-my-2">
2023-06-09 16:37:47 +08:00
<span class="text light grey muted-links">
2023-05-25 21:17:19 +08:00
# {{ .Index }}
{{ $ timeStr : = TimeSinceUnix .GetLastEventTimestamp $ .locale }}
{{ if .OriginalAuthor }}
{{ $ .locale .Tr .GetLastEventLabelFake $ timeStr ( .OriginalAuthor | Escape ) | Safe }}
{{ else if gt .Poster .ID 0 }}
{{ $ .locale .Tr .GetLastEventLabel $ timeStr ( .Poster .HomeLink | Escape ) ( .Poster .GetDisplayName | Escape ) | Safe }}
{{ else }}
{{ $ .locale .Tr .GetLastEventLabelFake $ timeStr ( .Poster .GetDisplayName | Escape ) | Safe }}
{{ end }}
</span>
</div>
{{ - if .MilestoneID }}
<div class="meta gt-my-2">
<a class="milestone" href=" {{ $ .RepoLink }} /milestone/ {{ .MilestoneID }} ">
{{ svg "octicon-milestone" 1 6 "gt-mr-2 gt-vm" }}
<span class="gt-vm"> {{ .Milestone .Name }} </span>
</a>
</div>
{{ - end }}
</div>
{{ if or .Labels .Assignees }}
<div class="extra content labels-list gt-p-0 gt-pt-2">
{{ range .Labels }}
<a href=" {{ $ .RepoLink }} /issues?labels= {{ .ID }} "> {{ RenderLabel $ .Context . }} </a>
{{ end }}
<div class="right floated">
{{ range .Assignees }}
<a href=" {{ .HomeLink }} " data-tooltip-content=" {{ $ .locale .Tr "repo.projects.column.assigned_to" }} {{ .Name }} "> {{ avatar $ .Context . 2 8 "mini gt-mr-3" }} </a>
{{ end }}
</div>
</div>
{{ end }}
</div>
{{ end }}
</div>
{{ end }}
2023-04-30 11:33:25 +08:00
<div class="list-header">
{{ template "repo/issue/navbar" . }}
{{ template "repo/issue/search" . }}
2019-01-24 02:58:38 +08:00
{{ if not .Repository .IsArchived }}
2023-04-30 11:33:25 +08:00
{{ if .PageIsIssueList }}
2023-06-18 18:31:42 +08:00
<a class="ui small green button issue-list-new" href=" {{ .RepoLink }} /issues/new {{ if .NewIssueChooseTemplate }} /choose {{ end }} "> {{ .locale .Tr "repo.issues.new" }} </a>
2023-04-30 11:33:25 +08:00
{{ else }}
2023-06-18 18:31:42 +08:00
<a class="ui small green 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 }} "> {{ .locale .Tr "repo.pulls.new" }} </a>
2023-04-30 11:33:25 +08:00
{{ end }}
2019-06-29 17:18:49 +08:00
{{ else }}
{{ if not .PageIsIssueList }}
2023-06-18 18:31:42 +08:00
<a class="ui small green 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 }} "> {{ $ .locale .Tr "action.compare_commits_general" }} </a>
2019-06-29 17:18:49 +08:00
{{ end }}
2019-01-24 02:58:38 +08:00
{{ end }}
2015-07-24 04:50:05 +08:00
</div>
2023-04-30 23:51:20 +08:00
<div id="issue-filters" class="issue-list-toolbar">
<div class="issue-list-toolbar-left">
2023-06-06 08:19:24 +08:00
{{ if and ( $ .CanWriteIssuesOrPulls ) ( gt ( len .Issues ) 0 ) }}
2023-04-30 23:51:20 +08:00
<input type="checkbox" autocomplete="off" class="issue-checkbox-all gt-mr-4" title=" {{ .locale .Tr "repo.issues.action_check_all" }} ">
2022-07-28 18:25:18 +08:00
{{ end }}
2020-11-29 23:52:11 +08:00
{{ template "repo/issue/openclose" . }}
2015-07-24 04:50:05 +08:00
</div>
2023-04-30 23:51:20 +08:00
<div class="issue-list-toolbar-right">
2023-06-20 01:12:15 +08:00
<div class="ui secondary filter menu labels">
2017-12-31 08:47:52 +08:00
<!-- Label -->
2023-04-30 23:51:20 +08:00
<div class="ui {{ if not .Labels }} disabled {{ end }} dropdown jump item label-filter">
2017-12-31 08:47:52 +08:00
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.filter_label" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-12-31 08:47:52 +08:00
</span>
<div class="menu">
2022-09-23 13:23:24 +08:00
<div class="ui icon search input">
2023-02-14 01:59:59 +08:00
<i class="icon gt-df gt-ac gt-jc"> {{ svg "octicon-search" 1 6 }} </i>
2022-10-10 22:05:32 +08:00
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_label" }} ">
2022-09-23 13:23:24 +08:00
</div>
2022-06-28 04:58:46 +08:00
<span class="info"> {{ .locale .Tr "repo.issues.filter_label_exclude" | Safe }} </span>
2023-06-19 01:33:12 +08:00
<div class="ui divider"></div>
2023-05-17 17:21:35 +08:00
<a class="item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels=0&milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_label_select_no_label" }} </a>
2023-01-29 11:45:29 +08:00
<a class="item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_label_no_select" }} </a>
Scoped labels (#22585)
Add a new "exclusive" option per label. This makes it so that when the
label is named `scope/name`, no other label with the same `scope/`
prefix can be set on an issue.
The scope is determined by the last occurence of `/`, so for example
`scope/alpha/name` and `scope/beta/name` are considered to be in
different scopes and can coexist.
Exclusive scopes are not enforced by any database rules, however they
are enforced when editing labels at the models level, automatically
removing any existing labels in the same scope when either attaching a
new label or replacing all labels.
In menus use a circle instead of checkbox to indicate they function as
radio buttons per scope. Issue filtering by label ensures that only a
single scoped label is selected at a time. Clicking with alt key can be
used to remove a scoped label, both when editing individual issues and
batch editing.
Label rendering refactor for consistency and code simplification:
* Labels now consistently have the same shape, emojis and tooltips
everywhere. This includes the label list and label assignment menus.
* In label list, show description below label same as label menus.
* Don't use exactly black/white text colors to look a bit nicer.
* Simplify text color computation. There is no point computing luminance
in linear color space, as this is a perceptual problem and sRGB is
closer to perceptually linear.
* Increase height of label assignment menus to show more labels. Showing
only 3-4 labels at a time leads to a lot of scrolling.
* Render all labels with a new RenderLabel template helper function.
Label creation and editing in multiline modal menu:
* Change label creation to open a modal menu like label editing.
* Change menu layout to place name, description and colors on separate
lines.
* Don't color cancel button red in label editing modal menu.
* Align text to the left in model menu for better readability and
consistent with settings layout elsewhere.
Custom exclusive scoped label rendering:
* Display scoped label prefix and suffix with slightly darker and
lighter background color respectively, and a slanted edge between them
similar to the `/` symbol.
* In menus exclusive labels are grouped with a divider line.
---------
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-02-19 03:17:39 +08:00
{{ $ previousExclusiveScope : = "_no_scope" }}
2017-12-31 08:47:52 +08:00
{{ range .Labels }}
Scoped labels (#22585)
Add a new "exclusive" option per label. This makes it so that when the
label is named `scope/name`, no other label with the same `scope/`
prefix can be set on an issue.
The scope is determined by the last occurence of `/`, so for example
`scope/alpha/name` and `scope/beta/name` are considered to be in
different scopes and can coexist.
Exclusive scopes are not enforced by any database rules, however they
are enforced when editing labels at the models level, automatically
removing any existing labels in the same scope when either attaching a
new label or replacing all labels.
In menus use a circle instead of checkbox to indicate they function as
radio buttons per scope. Issue filtering by label ensures that only a
single scoped label is selected at a time. Clicking with alt key can be
used to remove a scoped label, both when editing individual issues and
batch editing.
Label rendering refactor for consistency and code simplification:
* Labels now consistently have the same shape, emojis and tooltips
everywhere. This includes the label list and label assignment menus.
* In label list, show description below label same as label menus.
* Don't use exactly black/white text colors to look a bit nicer.
* Simplify text color computation. There is no point computing luminance
in linear color space, as this is a perceptual problem and sRGB is
closer to perceptually linear.
* Increase height of label assignment menus to show more labels. Showing
only 3-4 labels at a time leads to a lot of scrolling.
* Render all labels with a new RenderLabel template helper function.
Label creation and editing in multiline modal menu:
* Change label creation to open a modal menu like label editing.
* Change menu layout to place name, description and colors on separate
lines.
* Don't color cancel button red in label editing modal menu.
* Align text to the left in model menu for better readability and
consistent with settings layout elsewhere.
Custom exclusive scoped label rendering:
* Display scoped label prefix and suffix with slightly darker and
lighter background color respectively, and a slanted edge between them
similar to the `/` symbol.
* In menus exclusive labels are grouped with a divider line.
---------
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-02-19 03:17:39 +08:00
{{ $ exclusiveScope : = .ExclusiveScope }}
2023-06-19 01:33:12 +08:00
{{ if and ( ne $ previousExclusiveScope $ exclusiveScope ) }}
Scoped labels (#22585)
Add a new "exclusive" option per label. This makes it so that when the
label is named `scope/name`, no other label with the same `scope/`
prefix can be set on an issue.
The scope is determined by the last occurence of `/`, so for example
`scope/alpha/name` and `scope/beta/name` are considered to be in
different scopes and can coexist.
Exclusive scopes are not enforced by any database rules, however they
are enforced when editing labels at the models level, automatically
removing any existing labels in the same scope when either attaching a
new label or replacing all labels.
In menus use a circle instead of checkbox to indicate they function as
radio buttons per scope. Issue filtering by label ensures that only a
single scoped label is selected at a time. Clicking with alt key can be
used to remove a scoped label, both when editing individual issues and
batch editing.
Label rendering refactor for consistency and code simplification:
* Labels now consistently have the same shape, emojis and tooltips
everywhere. This includes the label list and label assignment menus.
* In label list, show description below label same as label menus.
* Don't use exactly black/white text colors to look a bit nicer.
* Simplify text color computation. There is no point computing luminance
in linear color space, as this is a perceptual problem and sRGB is
closer to perceptually linear.
* Increase height of label assignment menus to show more labels. Showing
only 3-4 labels at a time leads to a lot of scrolling.
* Render all labels with a new RenderLabel template helper function.
Label creation and editing in multiline modal menu:
* Change label creation to open a modal menu like label editing.
* Change menu layout to place name, description and colors on separate
lines.
* Don't color cancel button red in label editing modal menu.
* Align text to the left in model menu for better readability and
consistent with settings layout elsewhere.
Custom exclusive scoped label rendering:
* Display scoped label prefix and suffix with slightly darker and
lighter background color respectively, and a slanted edge between them
similar to the `/` symbol.
* In menus exclusive labels are grouped with a divider line.
---------
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-02-19 03:17:39 +08:00
<div class="ui divider"></div>
{{ end }}
{{ $ previousExclusiveScope = $ exclusiveScope }}
2023-03-06 05:59:05 +08:00
<a class="item label-filter-item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .QueryString }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} " data-label-id=" {{ .ID }} "> {{ if .IsExcluded }} {{ svg "octicon-circle-slash" }} {{ else if .IsSelected }} {{ if $ exclusiveScope }} {{ svg "octicon-dot-fill" }} {{ else }} {{ svg "octicon-check" }} {{ end }} {{ end }} {{ RenderLabel $ .Context . }} </a>
2017-12-31 08:47:52 +08:00
{{ end }}
</div>
2017-03-15 09:10:35 +08:00
</div>
2015-08-15 11:24:41 +08:00
2017-12-31 08:47:52 +08:00
<!-- Milestone -->
2023-04-30 21:12:49 +08:00
<div class="ui {{ if not ( or .OpenMilestones .ClosedMilestones ) }} disabled {{ end }} dropdown jump item">
2017-12-31 08:47:52 +08:00
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.filter_milestone" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-12-31 08:47:52 +08:00
</span>
<div class="menu">
2022-09-23 13:23:24 +08:00
<div class="ui icon search input">
2023-02-14 01:59:59 +08:00
<i class="icon gt-df gt-ac gt-jc"> {{ svg "octicon-search" 1 6 }} </i>
2022-10-10 22:05:32 +08:00
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_milestone" }} ">
2022-09-23 13:23:24 +08:00
</div>
2023-04-30 21:12:49 +08:00
<div class="divider"></div>
<a class=" {{ if not $ .MilestoneID }} active selected {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone=0&project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_milestone_all" }} </a>
<a class=" {{ if $ .MilestoneID }} {{ if eq $ .MilestoneID - 1 }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone=-1&project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_milestone_none" }} </a>
{{ if .OpenMilestones }}
<div class="divider"></div>
<div class="header"> {{ .locale .Tr "repo.issues.filter_milestone_open" }} </div>
{{ range .OpenMilestones }}
<a class=" {{ if $ .MilestoneID }} {{ if eq $ .MilestoneID .ID }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ .ID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
{{ svg "octicon-milestone" 1 6 "mr-2" }}
{{ .Name }}
</a>
{{ end }}
{{ end }}
{{ if .ClosedMilestones }}
<div class="divider"></div>
<div class="header"> {{ .locale .Tr "repo.issues.filter_milestone_closed" }} </div>
{{ range .ClosedMilestones }}
<a class=" {{ if $ .MilestoneID }} {{ if eq $ .MilestoneID .ID }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ .ID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
{{ svg "octicon-milestone" 1 6 "mr-2" }}
{{ .Name }}
</a>
{{ end }}
2023-01-29 11:45:29 +08:00
{{ end }}
</div>
</div>
<!-- Project -->
2023-02-04 22:35:08 +08:00
<div class="ui {{ if not ( or .OpenProjects .ClosedProjects ) }} disabled {{ end }} dropdown jump item">
2023-01-29 11:45:29 +08:00
<span class="text">
2023-02-10 00:39:31 +08:00
{{ .locale .Tr "repo.issues.filter_project" }}
2023-01-29 11:45:29 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
</span>
<div class="menu">
<div class="ui icon search input">
2023-02-14 01:59:59 +08:00
<i class="icon gt-df gt-ac gt-jc"> {{ svg "octicon-search" 1 6 }} </i>
2023-02-10 00:39:31 +08:00
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_project" }} ">
2023-01-29 11:45:29 +08:00
</div>
2023-02-04 22:35:08 +08:00
<a class="item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_project_all" }} </a>
<a class="item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &project=-1&assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_project_none" }} </a>
{{ if .OpenProjects }}
<div class="divider"></div>
<div class="header">
{{ .locale .Tr "repo.issues.new.open_projects" }}
</div>
{{ range .OpenProjects }}
2023-03-24 15:11:23 +08:00
<a class=" {{ if $ .ProjectID }} {{ if eq $ .ProjectID .ID }} active selected {{ end }} {{ end }} item gt-df" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ .ID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
{{ svg .IconName 1 8 "gt-mr-3 gt-shrink-0" }} <span class="gt-ellipsis"> {{ .Title }} </span>
2023-02-04 22:35:08 +08:00
</a>
{{ end }}
{{ end }}
{{ if .ClosedProjects }}
<div class="divider"></div>
<div class="header">
{{ .locale .Tr "repo.issues.new.closed_projects" }}
</div>
{{ range .ClosedProjects }}
<a class=" {{ if $ .ProjectID }} {{ if eq $ .ProjectID .ID }} active selected {{ end }} {{ end }} item" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ .ID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} ">
2023-03-19 20:44:48 +08:00
{{ svg .IconName 1 8 "gt-mr-3" }} {{ .Title }}
2023-02-04 22:35:08 +08:00
</a>
{{ end }}
2022-08-09 04:03:58 +08:00
{{ end }}
</div>
</div>
<!-- Author -->
2023-04-07 08:11:02 +08:00
<div class="ui dropdown jump item user-remote-search" data-tooltip-content=" {{ .locale .Tr "repo.author_search_tooltip" }} "
data-search-url=" {{ $ .Link }} /posters"
data-selected-user-id=" {{ $ .PosterID }} "
data-action-jump-url=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= { user_id}"
>
2022-08-09 04:03:58 +08:00
<span class="text">
{{ .locale .Tr "repo.issues.filter_poster" }}
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
</span>
<div class="menu">
2022-09-26 18:15:12 +08:00
<div class="ui icon search input">
2023-02-14 01:59:59 +08:00
<i class="icon gt-df gt-ac gt-jc"> {{ svg "octicon-search" 1 6 }} </i>
2022-10-10 22:05:32 +08:00
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_poster" }} ">
2022-09-26 18:15:12 +08:00
</div>
2023-04-07 08:11:02 +08:00
<a class="item" data-value="0"> {{ .locale .Tr "repo.issues.filter_poster_no_select" }} </a>
2017-12-31 08:47:52 +08:00
</div>
2017-03-15 09:10:35 +08:00
</div>
2015-08-15 12:07:08 +08:00
2017-12-31 08:47:52 +08:00
<!-- Assignee -->
<div class="ui {{ if not .Assignees }} disabled {{ end }} dropdown jump item">
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.filter_assignee" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-12-31 08:47:52 +08:00
</span>
<div class="menu">
2022-09-23 13:23:24 +08:00
<div class="ui icon search input">
2023-02-14 01:59:59 +08:00
<i class="icon gt-df gt-ac gt-jc"> {{ svg "octicon-search" 1 6 }} </i>
2022-10-10 22:05:32 +08:00
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_assignee" }} ">
2022-09-23 13:23:24 +08:00
</div>
2023-05-17 17:21:35 +08:00
<a class="item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee=-1&poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_assginee_no_assignee" }} </a>
2023-01-29 11:45:29 +08:00
<a class="item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_assginee_no_select" }} </a>
2017-12-31 08:47:52 +08:00
{{ range .Assignees }}
2023-03-24 15:11:23 +08:00
<a class=" {{ if eq $ .AssigneeID .ID }} active selected {{ end }} item gt-df" href=" {{ $ .Link }} ?type= {{ $ .ViewType }} &sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ $ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ .ID }} &poster= {{ $ .PosterID }} ">
2023-04-07 08:11:02 +08:00
{{ avatar $ .Context . 2 0 }} {{ template "repo/search_name" . }}
2020-12-04 02:46:11 +08:00
</a>
2017-12-31 08:47:52 +08:00
{{ end }}
</div>
2017-03-15 09:10:35 +08:00
</div>
2015-08-15 12:07:08 +08:00
2017-12-31 08:47:52 +08:00
{{ if .IsSigned }}
<!-- Type -->
<div class="ui dropdown type jump item">
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.filter_type" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-12-31 08:47:52 +08:00
</span>
<div class="menu">
2023-01-29 11:45:29 +08:00
<a class=" {{ if eq .ViewType "all" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=all&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_type.all_issues" }} </a>
<a class=" {{ if eq .ViewType "assigned" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=assigned&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_type.assigned_to_you" }} </a>
<a class=" {{ if eq .ViewType "created_by" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=created_by&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_type.created_by_you" }} </a>
2021-01-18 00:34:19 +08:00
{{ if .PageIsPullList }}
2023-01-29 11:45:29 +08:00
<a class=" {{ if eq .ViewType "review_requested" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=review_requested&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_type.review_requested" }} </a>
2023-02-25 10:55:50 +08:00
<a class=" {{ if eq .ViewType "reviewed_by" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=reviewed_by&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_type.reviewed_by_you" }} </a>
2021-01-18 00:34:19 +08:00
{{ end }}
2023-02-25 10:55:50 +08:00
<a class=" {{ if eq .ViewType "mentioned" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type=mentioned&sort= {{ $ .SortType }} &state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_type.mentioning_you" }} </a>
2017-12-31 08:47:52 +08:00
</div>
</div>
{{ end }}
<!-- Sort -->
2023-04-30 11:33:25 +08:00
<div class="list-header-sort ui small dropdown downward type jump item">
2017-06-15 11:09:03 +08:00
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.filter_sort" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-06-15 11:09:03 +08:00
</span>
2023-04-01 13:47:54 +08:00
<div class="menu">
2023-01-29 11:45:29 +08:00
<a class=" {{ if or ( eq .SortType "latest" ) ( not .SortType ) }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=latest&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.latest" }} </a>
<a class=" {{ if eq .SortType "oldest" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=oldest&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.oldest" }} </a>
<a class=" {{ if eq .SortType "recentupdate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=recentupdate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.recentupdate" }} </a>
<a class=" {{ if eq .SortType "leastupdate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=leastupdate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.leastupdate" }} </a>
<a class=" {{ if eq .SortType "mostcomment" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=mostcomment&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.mostcomment" }} </a>
<a class=" {{ if eq .SortType "leastcomment" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=leastcomment&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.leastcomment" }} </a>
<a class=" {{ if eq .SortType "nearduedate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=nearduedate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.nearduedate" }} </a>
<a class=" {{ if eq .SortType "farduedate" }} active {{ end }} item" href=" {{ $ .Link }} ?q= {{ $ .Keyword }} &type= {{ $ .ViewType }} &sort=farduedate&state= {{ $ .State }} &labels= {{ .SelectLabels }} &milestone= {{ $ .MilestoneID }} &project= {{ $ .ProjectID }} &assignee= {{ $ .AssigneeID }} &poster= {{ $ .PosterID }} "> {{ .locale .Tr "repo.issues.filter_sort.farduedate" }} </a>
2017-06-15 11:09:03 +08:00
</div>
2017-03-15 09:10:35 +08:00
</div>
</div>
</div>
</div>
2023-04-30 23:51:20 +08:00
<div id="issue-actions" class="issue-list-toolbar gt-hidden">
<div class="issue-list-toolbar-left">
2020-11-29 23:52:11 +08:00
{{ template "repo/issue/openclose" . }}
2015-08-15 12:07:08 +08:00
</div>
2023-04-30 23:51:20 +08:00
<div class="issue-list-toolbar-right">
2023-06-20 01:12:15 +08:00
<div class="ui secondary filter menu">
2019-06-29 17:18:49 +08:00
{{ if not .Repository .IsArchived }}
2019-02-20 07:09:47 +08:00
<!-- Action Button -->
{{ if .IsShowClosed }}
2023-06-19 15:46:50 +08:00
<button class="ui green basic button issue-action gt-ml-auto" data-action="open" data-url=" {{ $ .RepoLink }} /issues/status"> {{ .locale .Tr "repo.issues.action_open" }} </button>
2019-02-20 07:09:47 +08:00
{{ else }}
2023-06-19 15:46:50 +08:00
<button class="ui red basic button issue-action gt-ml-auto" data-action="close" data-url=" {{ $ .RepoLink }} /issues/status"> {{ .locale .Tr "repo.issues.action_close" }} </button>
{{ end }}
{{ if $ .IsRepoAdmin }}
<button class="ui red button issue-action gt-ml-auto"
data-action="delete" data-url=" {{ $ .RepoLink }} /issues/delete"
data-action-delete-confirm=" {{ .locale .Tr "confirm_delete_selected" }} "
> {{ .locale .Tr "repo.issues.delete" }} </button>
2019-02-20 07:09:47 +08:00
{{ end }}
2017-12-31 08:47:52 +08:00
<!-- Labels -->
2019-02-20 07:09:47 +08:00
<div class="ui {{ if not .Labels }} disabled {{ end }} dropdown jump item">
2017-12-31 08:47:52 +08:00
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.action_label" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-12-31 08:47:52 +08:00
</span>
<div class="menu">
2023-05-17 17:21:35 +08:00
<div class="item issue-action" data-action="clear" data-url=" {{ $ .RepoLink }} /issues/labels">
{{ .locale .Tr "repo.issues.new.clear_labels" }}
</div>
Scoped labels (#22585)
Add a new "exclusive" option per label. This makes it so that when the
label is named `scope/name`, no other label with the same `scope/`
prefix can be set on an issue.
The scope is determined by the last occurence of `/`, so for example
`scope/alpha/name` and `scope/beta/name` are considered to be in
different scopes and can coexist.
Exclusive scopes are not enforced by any database rules, however they
are enforced when editing labels at the models level, automatically
removing any existing labels in the same scope when either attaching a
new label or replacing all labels.
In menus use a circle instead of checkbox to indicate they function as
radio buttons per scope. Issue filtering by label ensures that only a
single scoped label is selected at a time. Clicking with alt key can be
used to remove a scoped label, both when editing individual issues and
batch editing.
Label rendering refactor for consistency and code simplification:
* Labels now consistently have the same shape, emojis and tooltips
everywhere. This includes the label list and label assignment menus.
* In label list, show description below label same as label menus.
* Don't use exactly black/white text colors to look a bit nicer.
* Simplify text color computation. There is no point computing luminance
in linear color space, as this is a perceptual problem and sRGB is
closer to perceptually linear.
* Increase height of label assignment menus to show more labels. Showing
only 3-4 labels at a time leads to a lot of scrolling.
* Render all labels with a new RenderLabel template helper function.
Label creation and editing in multiline modal menu:
* Change label creation to open a modal menu like label editing.
* Change menu layout to place name, description and colors on separate
lines.
* Don't color cancel button red in label editing modal menu.
* Align text to the left in model menu for better readability and
consistent with settings layout elsewhere.
Custom exclusive scoped label rendering:
* Display scoped label prefix and suffix with slightly darker and
lighter background color respectively, and a slanted edge between them
similar to the `/` symbol.
* In menus exclusive labels are grouped with a divider line.
---------
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-02-19 03:17:39 +08:00
{{ $ previousExclusiveScope : = "_no_scope" }}
2017-12-31 08:47:52 +08:00
{{ range .Labels }}
Scoped labels (#22585)
Add a new "exclusive" option per label. This makes it so that when the
label is named `scope/name`, no other label with the same `scope/`
prefix can be set on an issue.
The scope is determined by the last occurence of `/`, so for example
`scope/alpha/name` and `scope/beta/name` are considered to be in
different scopes and can coexist.
Exclusive scopes are not enforced by any database rules, however they
are enforced when editing labels at the models level, automatically
removing any existing labels in the same scope when either attaching a
new label or replacing all labels.
In menus use a circle instead of checkbox to indicate they function as
radio buttons per scope. Issue filtering by label ensures that only a
single scoped label is selected at a time. Clicking with alt key can be
used to remove a scoped label, both when editing individual issues and
batch editing.
Label rendering refactor for consistency and code simplification:
* Labels now consistently have the same shape, emojis and tooltips
everywhere. This includes the label list and label assignment menus.
* In label list, show description below label same as label menus.
* Don't use exactly black/white text colors to look a bit nicer.
* Simplify text color computation. There is no point computing luminance
in linear color space, as this is a perceptual problem and sRGB is
closer to perceptually linear.
* Increase height of label assignment menus to show more labels. Showing
only 3-4 labels at a time leads to a lot of scrolling.
* Render all labels with a new RenderLabel template helper function.
Label creation and editing in multiline modal menu:
* Change label creation to open a modal menu like label editing.
* Change menu layout to place name, description and colors on separate
lines.
* Don't color cancel button red in label editing modal menu.
* Align text to the left in model menu for better readability and
consistent with settings layout elsewhere.
Custom exclusive scoped label rendering:
* Display scoped label prefix and suffix with slightly darker and
lighter background color respectively, and a slanted edge between them
similar to the `/` symbol.
* In menus exclusive labels are grouped with a divider line.
---------
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-02-19 03:17:39 +08:00
{{ $ exclusiveScope : = .ExclusiveScope }}
{{ if and ( ne $ previousExclusiveScope "_no_scope" ) ( ne $ previousExclusiveScope $ exclusiveScope ) }}
<div class="ui divider"></div>
{{ end }}
{{ $ previousExclusiveScope = $ exclusiveScope }}
2020-04-30 16:10:15 +08:00
<div class="item issue-action" data-action="toggle" data-element-id=" {{ .ID }} " data-url=" {{ $ .RepoLink }} /issues/labels">
2023-04-23 02:16:22 +08:00
{{ if SliceUtils .Contains $ .SelLabelIDs .ID }} {{ if $ exclusiveScope }} {{ svg "octicon-dot-fill" }} {{ else }} {{ svg "octicon-check" }} {{ end }} {{ end }} {{ RenderLabel $ .Context . }}
2017-12-31 08:47:52 +08:00
</div>
{{ end }}
</div>
2017-03-15 09:10:35 +08:00
</div>
2017-12-31 08:47:52 +08:00
<!-- Milestone -->
2023-05-11 21:19:42 +08:00
<div class="ui {{ if not ( or .OpenMilestones .ClosedMilestones ) }} disabled {{ end }} dropdown jump item">
2017-12-31 08:47:52 +08:00
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.action_milestone" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-12-31 08:47:52 +08:00
</span>
<div class="menu">
<div class="item issue-action" data-element-id="0" data-url=" {{ $ .Link }} /milestone">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.action_milestone_no_select" }}
2017-03-15 09:10:35 +08:00
</div>
2023-05-11 21:19:42 +08:00
{{ if .OpenMilestones }}
<div class="divider"></div>
<div class="header"> {{ .locale .Tr "repo.issues.filter_milestone_open" }} </div>
{{ range .OpenMilestones }}
<div class="item issue-action" data-element-id=" {{ .ID }} " data-url=" {{ $ .RepoLink }} /issues/milestone">
{{ .Name }}
</div>
{{ end }}
{{ end }}
{{ if .ClosedMilestones }}
<div class="divider"></div>
<div class="header"> {{ .locale .Tr "repo.issues.filter_milestone_open" }} </div>
{{ range .ClosedMilestones }}
<div class="item issue-action" data-element-id=" {{ .ID }} " data-url=" {{ $ .RepoLink }} /issues/milestone">
{{ .Name }}
</div>
{{ end }}
2017-12-31 08:47:52 +08:00
{{ end }}
</div>
2017-03-15 09:10:35 +08:00
</div>
2021-10-08 06:00:02 +08:00
<!-- Projects -->
2023-02-04 22:35:08 +08:00
<div class="ui {{ if not ( or .OpenProjects .ClosedProjects ) }} disabled {{ end }} dropdown jump item">
2021-10-08 06:00:02 +08:00
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.project_board" }}
2021-10-08 06:00:02 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
</span>
<div class="menu">
<div class="item issue-action" data-element-id="0" data-url=" {{ $ .Link }} /projects">
2023-02-04 22:35:08 +08:00
{{ .locale .Tr "repo.issues.new.clear_projects" }}
2021-10-08 06:00:02 +08:00
</div>
2023-02-04 22:35:08 +08:00
{{ if .OpenProjects }}
<div class="divider"></div>
<div class="header">
{{ .locale .Tr "repo.issues.new.open_projects" }}
</div>
{{ range .OpenProjects }}
<div class="item issue-action" data-element-id=" {{ .ID }} " data-url=" {{ $ .RepoLink }} /issues/projects">
2023-03-19 20:44:48 +08:00
{{ svg .IconName 1 8 "gt-mr-3" }} {{ .Title }}
2023-02-04 22:35:08 +08:00
</div>
{{ end }}
{{ end }}
{{ if .ClosedProjects }}
<div class="divider"></div>
<div class="header">
{{ .locale .Tr "repo.issues.new.closed_projects" }}
</div>
{{ range .ClosedProjects }}
<div class="item issue-action" data-element-id=" {{ .ID }} " data-url=" {{ $ .RepoLink }} /issues/projects">
2023-03-19 20:44:48 +08:00
{{ svg .IconName 1 8 "gt-mr-3" }} {{ .Title }}
2023-02-04 22:35:08 +08:00
</div>
{{ end }}
2021-10-08 06:00:02 +08:00
{{ end }}
</div>
</div>
2018-05-10 00:29:04 +08:00
<!-- Assignees -->
2017-12-31 08:47:52 +08:00
<div class="ui {{ if not .Assignees }} disabled {{ end }} dropdown jump item">
<span class="text">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.action_assignee" }}
2020-11-01 06:15:11 +08:00
{{ svg "octicon-triangle-down" 1 4 "dropdown icon" }}
2017-12-31 08:47:52 +08:00
</span>
<div class="menu">
2023-05-17 17:21:35 +08:00
<div class="item issue-action" data-action="clear" data-url=" {{ $ .Link }} /assignee">
{{ .locale .Tr "repo.issues.new.clear_assignees" }}
</div>
2017-12-31 08:47:52 +08:00
<div class="item issue-action" data-element-id="0" data-url=" {{ $ .Link }} /assignee">
2022-06-28 04:58:46 +08:00
{{ .locale .Tr "repo.issues.action_assignee_no_select" }}
2017-03-15 09:10:35 +08:00
</div>
2017-12-31 08:47:52 +08:00
{{ range .Assignees }}
<div class="item issue-action" data-element-id=" {{ .ID }} " data-url=" {{ $ .RepoLink }} /issues/assignee">
2023-04-07 08:11:02 +08:00
{{ avatar $ .Context . 2 0 }} {{ .GetDisplayName }}
2017-12-31 08:47:52 +08:00
</div>
{{ end }}
</div>
2017-03-15 09:10:35 +08:00
</div>
2019-06-29 17:18:49 +08:00
{{ end }}
2015-07-24 04:50:05 +08:00
</div>
</div>
</div>
2023-04-07 22:39:08 +08:00
{{ template "shared/issuelist" dict "." . "listType" "repo" }}
2015-07-24 04:50:05 +08:00
</div>
2014-03-25 23:00:26 +08:00
</div>
2015-07-31 04:14:52 +08:00
{{ template "base/footer" . }}