@ -6,17 +6,17 @@
<input id="reviewer_id" name="reviewer_id" type="hidden" value=" {{ .reviewer_id }} ">
<input id="reviewer_id" name="reviewer_id" type="hidden" value=" {{ .reviewer_id }} ">
<div class="ui {{ if or ( not .Reviewers ) ( not .CanChooseReviewer ) .Repository .IsArchived }} disabled {{ end }} floating jump select-reviewers-modify dropdown">
<div class="ui {{ if or ( not .Reviewers ) ( not .CanChooseReviewer ) .Repository .IsArchived }} disabled {{ end }} floating jump select-reviewers-modify dropdown">
<a class="text df ac muted">
<a class="text gt- df gt- ac muted">
<strong> {{ .locale .Tr "repo.issues.review.reviewers" }} </strong>
<strong> {{ .locale .Tr "repo.issues.review.reviewers" }} </strong>
{{ if and .CanChooseReviewer ( not .Repository .IsArchived ) }}
{{ if and .CanChooseReviewer ( not .Repository .IsArchived ) }}
{{ svg "octicon-gear" 1 6 "ml-2" }}
{{ svg "octicon-gear" 1 6 "gt- ml-2" }}
{{ end }}
{{ end }}
</a>
</a>
<div class="filter menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/request_review">
<div class="filter menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/request_review">
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_reviewer_title" }} </div>
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_reviewer_title" }} </div>
{{ if .Reviewers }}
{{ if .Reviewers }}
<div class="ui icon search input">
<div class="ui icon search input">
<i class="icon df ac jc"> {{ svg "octicon-search" 1 6 }} </i>
<i class="icon gt- df gt- ac gt- jc"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_reviewers" }} ">
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_reviewers" }} ">
</div>
</div>
{{ end }}
{{ end }}
@ -26,7 +26,7 @@
<a class=" {{ if not .CanChange }} ui tooltip {{ end }} item {{ if .Checked }} checked {{ end }} {{ if not .CanChange }} ban-change {{ end }} " href="#" data-id=" {{ .ItemID }} " data-id-selector="#review_request_ {{ .ItemID }} " {{ if not .CanChange }} data-content=" {{ $ .locale .Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
<a class=" {{ if not .CanChange }} ui tooltip {{ end }} item {{ if .Checked }} checked {{ end }} {{ if not .CanChange }} ban-change {{ end }} " href="#" data-id=" {{ .ItemID }} " data-id-selector="#review_request_ {{ .ItemID }} " {{ if not .CanChange }} data-content=" {{ $ .locale .Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
<span class="octicon-check {{ if not .Checked }} invisible {{ end }} "> {{ svg "octicon-check" }} </span>
<span class="octicon-check {{ if not .Checked }} invisible {{ end }} "> {{ svg "octicon-check" }} </span>
<span class="text">
<span class="text">
{{ avatar .User 2 8 "mr-3" }}
{{ avatar .User 2 8 "gt- mr-3" }}
{{ .User .GetDisplayName }}
{{ .User .GetDisplayName }}
</span>
</span>
</a>
</a>
@ -40,7 +40,7 @@
<a class=" {{ if not .CanChange }} ui tooltip {{ end }} item {{ if .Checked }} checked {{ end }} {{ if not .CanChange }} ban-change {{ end }} " href="#" data-id=" {{ .ItemID }} " data-id-selector="#review_request_team_ {{ .Team .ID }} " {{ if not .CanChange }} data-content=" {{ $ .locale .Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
<a class=" {{ if not .CanChange }} ui tooltip {{ end }} item {{ if .Checked }} checked {{ end }} {{ if not .CanChange }} ban-change {{ end }} " href="#" data-id=" {{ .ItemID }} " data-id-selector="#review_request_team_ {{ .Team .ID }} " {{ if not .CanChange }} data-content=" {{ $ .locale .Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
<span class="octicon-check {{ if not .Checked }} invisible {{ end }} "> {{ svg "octicon-check" 1 6 }} </span>
<span class="octicon-check {{ if not .Checked }} invisible {{ end }} "> {{ svg "octicon-check" 1 6 }} </span>
<span class="text">
<span class="text">
{{ svg "octicon-people" 1 6 "ml-4 mr-2" }} {{ $ .Issue .Repo .OwnerName }} / {{ .Team .Name }}
{{ svg "octicon-people" 1 6 "gt- ml-4 gt- mr-2" }} {{ $ .Issue .Repo .OwnerName }} / {{ .Team .Name }}
</span>
</span>
</a>
</a>
{{ end }}
{{ end }}
@ -53,10 +53,10 @@
<span class="no-select item {{ if or .OriginalReviews .PullReviewers }} hide {{ end }} "> {{ .locale .Tr "repo.issues.new.no_reviewers" }} </span>
<span class="no-select item {{ if or .OriginalReviews .PullReviewers }} hide {{ end }} "> {{ .locale .Tr "repo.issues.new.no_reviewers" }} </span>
<div class="selected">
<div class="selected">
{{ range .PullReviewers }}
{{ range .PullReviewers }}
<div class="item mb-2">
<div class="item gt- mb-2">
{{ if .User }}
{{ if .User }}
<a class="muted sidebar-item-link" href=" {{ .User .HomeLink }} ">
<a class="muted sidebar-item-link" href=" {{ .User .HomeLink }} ">
{{ avatar .User 2 8 "mr-3" }}
{{ avatar .User 2 8 "gt- mr-3" }}
{{ .User .GetDisplayName }}
{{ .User .GetDisplayName }}
</a>
</a>
{{ else if .Team }}
{{ else if .Team }}
@ -107,17 +107,17 @@
{{ end }}
{{ end }}
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-label dropdown">
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-label dropdown">
<a class="text df ac muted">
<a class="text gt- df gt- ac muted">
<strong> {{ .locale .Tr "repo.issues.new.labels" }} </strong>
<strong> {{ .locale .Tr "repo.issues.new.labels" }} </strong>
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ svg "octicon-gear" 1 6 "ml-2" }}
{{ svg "octicon-gear" 1 6 "gt- ml-2" }}
{{ end }}
{{ end }}
</a>
</a>
<div class="filter menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/labels">
<div class="filter menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/labels">
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_labels_title" }} </div>
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_labels_title" }} </div>
{{ if or .Labels .OrgLabels }}
{{ if or .Labels .OrgLabels }}
<div class="ui icon search input">
<div class="ui icon search input">
<i class="icon df ac jc"> {{ svg "octicon-search" 1 6 }} </i>
<i class="icon gt- df gt- ac gt- jc"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_labels" }} ">
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_labels" }} ">
</div>
</div>
{{ end }}
{{ end }}
@ -142,17 +142,17 @@
<div class="ui divider"></div>
<div class="ui divider"></div>
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-milestone dropdown">
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-milestone dropdown">
<a class="text df ac muted">
<a class="text gt- df gt- ac muted">
<strong> {{ .locale .Tr "repo.issues.new.milestone" }} </strong>
<strong> {{ .locale .Tr "repo.issues.new.milestone" }} </strong>
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ svg "octicon-gear" 1 6 "ml-2" }}
{{ svg "octicon-gear" 1 6 "gt- ml-2" }}
{{ end }}
{{ end }}
</a>
</a>
<div class="menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/milestone">
<div class="menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/milestone">
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_milestone_title" }} </div>
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_milestone_title" }} </div>
{{ if or .OpenMilestones .ClosedMilestones }}
{{ if or .OpenMilestones .ClosedMilestones }}
<div class="ui icon search input">
<div class="ui icon search input">
<i class="icon df ac jc"> {{ svg "octicon-search" 1 6 }} </i>
<i class="icon gt- df gt- ac gt- jc"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_milestones" }} ">
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_milestones" }} ">
</div>
</div>
{{ end }}
{{ end }}
@ -169,7 +169,7 @@
</div>
</div>
{{ range .OpenMilestones }}
{{ range .OpenMilestones }}
<a class="item" data-id=" {{ .ID }} " data-href=" {{ $ .RepoLink }} /issues?milestone= {{ .ID }} ">
<a class="item" data-id=" {{ .ID }} " data-href=" {{ $ .RepoLink }} /issues?milestone= {{ .ID }} ">
{{ svg "octicon-milestone" 1 6 "mr-2" }}
{{ svg "octicon-milestone" 1 6 "gt- mr-2" }}
{{ .Name }}
{{ .Name }}
</a>
</a>
{{ end }}
{{ end }}
@ -181,7 +181,7 @@
</div>
</div>
{{ range .ClosedMilestones }}
{{ range .ClosedMilestones }}
<a class="item" data-id=" {{ .ID }} " data-href=" {{ $ .RepoLink }} /issues?milestone= {{ .ID }} ">
<a class="item" data-id=" {{ .ID }} " data-href=" {{ $ .RepoLink }} /issues?milestone= {{ .ID }} ">
{{ svg "octicon-milestone" 1 6 "mr-2" }}
{{ svg "octicon-milestone" 1 6 "gt- mr-2" }}
{{ .Name }}
{{ .Name }}
</a>
</a>
{{ end }}
{{ end }}
@ -194,7 +194,7 @@
<div class="selected">
<div class="selected">
{{ if .Issue .Milestone }}
{{ if .Issue .Milestone }}
<a class="item muted sidebar-item-link" href=" {{ .RepoLink }} /milestone/ {{ .Issue .Milestone .ID }} ">
<a class="item muted sidebar-item-link" href=" {{ .RepoLink }} /milestone/ {{ .Issue .Milestone .ID }} ">
{{ svg "octicon-milestone" 1 8 "mr-3" }}
{{ svg "octicon-milestone" 1 8 "gt- mr-3" }}
{{ .Issue .Milestone .Name }}
{{ .Issue .Milestone .Name }}
</a>
</a>
{{ end }}
{{ end }}
@ -205,17 +205,17 @@
<div class="ui divider"></div>
<div class="ui divider"></div>
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-project dropdown">
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-project dropdown">
<a class="text df ac muted">
<a class="text gt- df gt- ac muted">
<strong> {{ .locale .Tr "repo.issues.new.projects" }} </strong>
<strong> {{ .locale .Tr "repo.issues.new.projects" }} </strong>
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ svg "octicon-gear" 1 6 "ml-2" }}
{{ svg "octicon-gear" 1 6 "gt- ml-2" }}
{{ end }}
{{ end }}
</a>
</a>
<div class="menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/projects">
<div class="menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/projects">
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_project_title" }} </div>
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_project_title" }} </div>
{{ if or .OpenProjects .ClosedProjects }}
{{ if or .OpenProjects .ClosedProjects }}
<div class="ui icon search input">
<div class="ui icon search input">
<i class="icon df ac jc"> {{ svg "octicon-search" 1 6 }} </i>
<i class="icon gt- df gt- ac gt- jc"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_projects" }} ">
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_projects" }} ">
</div>
</div>
{{ end }}
{{ end }}
@ -227,7 +227,7 @@
</div>
</div>
{{ range .OpenProjects }}
{{ range .OpenProjects }}
<a class="item muted sidebar-item-link" data-id=" {{ .ID }} " data-href=" {{ .Link }} ">
<a class="item muted sidebar-item-link" data-id=" {{ .ID }} " data-href=" {{ .Link }} ">
{{ if .IsOrganizationProject }} {{ svg "octicon-project-symlink" 1 8 "mr-3" }} {{ else }} {{ svg "octicon-project" 1 8 "mr-3" }} {{ end }}
{{ if .IsOrganizationProject }} {{ svg "octicon-project-symlink" 1 8 "gt- mr-3" }} {{ else }} {{ svg "octicon-project" 1 8 "gt- mr-3" }} {{ end }}
{{ .Title }}
{{ .Title }}
</a>
</a>
{{ end }}
{{ end }}
@ -239,7 +239,7 @@
</div>
</div>
{{ range .ClosedProjects }}
{{ range .ClosedProjects }}
<a class="item muted sidebar-item-link" data-id=" {{ .ID }} " data-href=" {{ .Link }} ">
<a class="item muted sidebar-item-link" data-id=" {{ .ID }} " data-href=" {{ .Link }} ">
{{ if .IsOrganizationProject }} {{ svg "octicon-project-symlink" 1 8 "mr-3" }} {{ else }} {{ svg "octicon-project" 1 8 "mr-3" }} {{ end }}
{{ if .IsOrganizationProject }} {{ svg "octicon-project-symlink" 1 8 "gt- mr-3" }} {{ else }} {{ svg "octicon-project" 1 8 "gt- mr-3" }} {{ end }}
{{ .Title }}
{{ .Title }}
</a>
</a>
{{ end }}
{{ end }}
@ -251,7 +251,7 @@
<div class="selected">
<div class="selected">
{{ if .Issue .ProjectID }}
{{ if .Issue .ProjectID }}
<a class="item muted sidebar-item-link" href=" {{ .Issue .Project .Link }} ">
<a class="item muted sidebar-item-link" href=" {{ .Issue .Project .Link }} ">
{{ if .IsOrganizationProject }} {{ svg "octicon-project-symlink" 1 8 "mr-3" }} {{ else }} {{ svg "octicon-project" 1 8 "mr-3" }} {{ end }}
{{ if .IsOrganizationProject }} {{ svg "octicon-project-symlink" 1 8 "gt- mr-3" }} {{ else }} {{ svg "octicon-project" 1 8 "gt- mr-3" }} {{ end }}
{{ .Issue .Project .Title }}
{{ .Issue .Project .Title }}
</a>
</a>
{{ end }}
{{ end }}
@ -263,16 +263,16 @@
<input id="assignee_id" name="assignee_id" type="hidden" value=" {{ .assignee_id }} ">
<input id="assignee_id" name="assignee_id" type="hidden" value=" {{ .assignee_id }} ">
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-assignees-modify dropdown">
<div class="ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository .IsArchived }} disabled {{ end }} floating jump select-assignees-modify dropdown">
<a class="text df ac muted">
<a class="text gt- df gt- ac muted">
<strong> {{ .locale .Tr "repo.issues.new.assignees" }} </strong>
<strong> {{ .locale .Tr "repo.issues.new.assignees" }} </strong>
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ svg "octicon-gear" 1 6 "ml-2" }}
{{ svg "octicon-gear" 1 6 "gt- ml-2" }}
{{ end }}
{{ end }}
</a>
</a>
<div class="filter menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/assignee">
<div class="filter menu" data-action="update" data-issue-id=" {{ $ .Issue .ID }} " data-update-url=" {{ $ .RepoLink }} /issues/assignee">
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_assignees_title" }} </div>
<div class="header" style="text-transform: none;font-size:16px;"> {{ .locale .Tr "repo.issues.new.add_assignees_title" }} </div>
<div class="ui icon search input">
<div class="ui icon search input">
<i class="icon df ac jc"> {{ svg "octicon-search" 1 6 }} </i>
<i class="icon gt- df gt- ac gt- jc"> {{ svg "octicon-search" 1 6 }} </i>
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_assignees" }} ">
<input type="text" placeholder=" {{ .locale .Tr "repo.issues.filter_assignees" }} ">
</div>
</div>
<div class="no-select item"> {{ .locale .Tr "repo.issues.new.clear_assignees" }} </div>
<div class="no-select item"> {{ .locale .Tr "repo.issues.new.clear_assignees" }} </div>
@ -288,7 +288,7 @@
{{ end }}
{{ end }}
<span class="octicon-check {{ if not $ checked }} invisible {{ end }} "> {{ svg "octicon-check" }} </span>
<span class="octicon-check {{ if not $ checked }} invisible {{ end }} "> {{ svg "octicon-check" }} </span>
<span class="text">
<span class="text">
{{ avatar . 2 8 "mr-3" }}
{{ avatar . 2 8 "gt- mr-3" }}
{{ .GetDisplayName }}
{{ .GetDisplayName }}
</span>
</span>
</a>
</a>
@ -301,7 +301,7 @@
{{ range .Issue .Assignees }}
{{ range .Issue .Assignees }}
<div class="item">
<div class="item">
<a class="muted sidebar-item-link" href=" {{ $ .RepoLink }} / {{ if $ .Issue .IsPull }} pulls {{ else }} issues {{ end }} ?assignee= {{ .ID }} ">
<a class="muted sidebar-item-link" href=" {{ $ .RepoLink }} / {{ if $ .Issue .IsPull }} pulls {{ else }} issues {{ end }} ?assignee= {{ .ID }} ">
{{ avatar . 2 8 "mr-3" }}
{{ avatar . 2 8 "gt- mr-3" }}
{{ .GetDisplayName }}
{{ .GetDisplayName }}
</a>
</a>
</div>
</div>
@ -313,10 +313,10 @@
{{ if .Participants }}
{{ if .Participants }}
<span class="text"><strong> {{ .locale .Tr "repo.issues.num_participants" .NumParticipants }} </strong></span>
<span class="text"><strong> {{ .locale .Tr "repo.issues.num_participants" .NumParticipants }} </strong></span>
<div class="ui list df fw">
<div class="ui list gt- df gt- fw">
{{ range .Participants }}
{{ range .Participants }}
<a class="ui tooltip" {{ if gt .ID 0 }} href=" {{ .HomeLink }} " {{ end }} data-content=" {{ .GetDisplayName }} " data-position="top center">
<a class="ui tooltip" {{ if gt .ID 0 }} href=" {{ .HomeLink }} " {{ end }} data-content=" {{ .GetDisplayName }} " data-position="top center">
{{ avatar . 2 8 "my-1 mr-2" }}
{{ avatar . 2 8 "gt- my-1 gt- mr-2" }}
</a>
</a>
{{ end }}
{{ end }}
</div>
</div>
@ -327,16 +327,16 @@
<div class="ui watching">
<div class="ui watching">
<span class="text"><strong> {{ .locale .Tr "notification.notifications" }} </strong></span>
<span class="text"><strong> {{ .locale .Tr "notification.notifications" }} </strong></span>
<div class="mt-3">
<div class="gt- mt-3">
<form method="POST" action=" {{ .Issue .Link }} /watch">
<form method="POST" action=" {{ .Issue .Link }} /watch">
<input type="hidden" name="watch" value=" {{ if $ .IssueWatch .IsWatching }} 0 {{ else }} 1 {{ end }} " />
<input type="hidden" name="watch" value=" {{ if $ .IssueWatch .IsWatching }} 0 {{ else }} 1 {{ end }} " />
{{ $ .CsrfTokenHtml }}
{{ $ .CsrfTokenHtml }}
<button class="fluid ui button df jc">
<button class="fluid ui button gt- df gt- jc">
{{ if $ .IssueWatch .IsWatching }}
{{ if $ .IssueWatch .IsWatching }}
{{ svg "octicon-mute" 1 6 "mr-3" }}
{{ svg "octicon-mute" 1 6 "gt- mr-3" }}
{{ .locale .Tr "repo.issues.unsubscribe" }}
{{ .locale .Tr "repo.issues.unsubscribe" }}
{{ else }}
{{ else }}
{{ svg "octicon-unmute" 1 6 "mr-3" }}
{{ svg "octicon-unmute" 1 6 "gt- mr-3" }}
{{ .locale .Tr "repo.issues.subscribe" }}
{{ .locale .Tr "repo.issues.subscribe" }}
{{ end }}
{{ end }}
</button>
</button>
@ -349,7 +349,7 @@
<div class="ui divider"></div>
<div class="ui divider"></div>
<div class="ui timetrack">
<div class="ui timetrack">
<span class="text"><strong> {{ .locale .Tr "repo.issues.tracker" }} </strong></span>
<span class="text"><strong> {{ .locale .Tr "repo.issues.tracker" }} </strong></span>
<div class="mt-3">
<div class="gt- mt-3">
<form method="POST" action=" {{ .Issue .Link }} /times/stopwatch/toggle" id="toggle_stopwatch_form">
<form method="POST" action=" {{ .Issue .Link }} /times/stopwatch/toggle" id="toggle_stopwatch_form">
{{ $ .CsrfTokenHtml }}
{{ $ .CsrfTokenHtml }}
</form>
</form>
@ -358,7 +358,7 @@
</form>
</form>
{{ if $ .IsStopwatchRunning }}
{{ if $ .IsStopwatchRunning }}
<button class="ui fluid button issue-stop-time"> {{ .locale .Tr "repo.issues.stop_tracking" }} </button>
<button class="ui fluid button issue-stop-time"> {{ .locale .Tr "repo.issues.stop_tracking" }} </button>
<button class="ui fluid negative button issue-cancel-time mt-3"> {{ .locale .Tr "repo.issues.cancel_tracking" }} </button>
<button class="ui fluid negative button issue-cancel-time gt- mt-3"> {{ .locale .Tr "repo.issues.cancel_tracking" }} </button>
{{ else }}
{{ else }}
{{ if .HasUserStopwatch }}
{{ if .HasUserStopwatch }}
<div class="ui warning message">
<div class="ui warning message">
@ -380,7 +380,7 @@
<div class="ui red cancel button"> {{ .locale .Tr "repo.issues.add_time_cancel" }} </div>
<div class="ui red cancel button"> {{ .locale .Tr "repo.issues.add_time_cancel" }} </div>
</div>
</div>
</div>
</div>
<button class="ui fluid button green tooltip issue-add-time mt-3" data-content=' {{ .locale .Tr "repo.issues.add_time" }} ' data-position="top center"> {{ .locale .Tr "repo.issues.add_time_short" }} </button>
<button class="ui fluid button green tooltip issue-add-time gt- mt-3" data-content=' {{ .locale .Tr "repo.issues.add_time" }} ' data-position="top center"> {{ .locale .Tr "repo.issues.add_time_short" }} </button>
{{ end }}
{{ end }}
</div>
</div>
</div>
</div>
@ -391,7 +391,7 @@
<span class="text"><strong> {{ .locale .Tr "repo.issues.time_spent_from_all_authors" ( $ .Issue .TotalTrackedTime | Sec2Time ) | Safe }} </strong></span>
<span class="text"><strong> {{ .locale .Tr "repo.issues.time_spent_from_all_authors" ( $ .Issue .TotalTrackedTime | Sec2Time ) | Safe }} </strong></span>
<div>
<div>
{{ range $ user , $ trackedtime : = .WorkingUsers }}
{{ range $ user , $ trackedtime : = .WorkingUsers }}
<div class="comment mt-3">
<div class="comment gt- mt-3">
<a class="avatar">
<a class="avatar">
{{ avatar $ user }}
{{ avatar $ user }}
</a>
</a>
@ -417,14 +417,14 @@
</div>
</div>
{{ if ne .Issue .DeadlineUnix 0 }}
{{ if ne .Issue .DeadlineUnix 0 }}
<p>
<p>
<div class="df sb ac">
<div class="gt- df gt- sb gt- ac">
<div class="due-date tooltip {{ if .Issue .IsOverdue }} text red {{ end }} " {{ if .Issue .IsOverdue }} data-content=" {{ .locale .Tr "repo.issues.due_date_overdue" }} " {{ end }} >
<div class="due-date tooltip {{ if .Issue .IsOverdue }} text red {{ end }} " {{ if .Issue .IsOverdue }} data-content=" {{ .locale .Tr "repo.issues.due_date_overdue" }} " {{ end }} >
{{ svg "octicon-calendar" 1 6 "mr-3" }}
{{ svg "octicon-calendar" 1 6 "gt- mr-3" }}
<time data-format="date" datetime=" {{ .Issue .DeadlineUnix .FormatDate }} "> {{ .Issue .DeadlineUnix .FormatDate }} </time>
<time data-format="date" datetime=" {{ .Issue .DeadlineUnix .FormatDate }} "> {{ .Issue .DeadlineUnix .FormatDate }} </time>
</div>
</div>
<div>
<div>
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
<a class="issue-due-edit tooltip muted" data-content=" {{ $ .locale .Tr "repo.issues.due_date_form_edit" }} "> {{ svg "octicon-pencil" 1 6 "mr-2" }} </a>
<a class="issue-due-edit tooltip muted" data-content=" {{ $ .locale .Tr "repo.issues.due_date_form_edit" }} "> {{ svg "octicon-pencil" 1 6 "gt- mr-2" }} </a>
<a class="issue-due-remove tooltip muted" data-content=" {{ $ .locale .Tr "repo.issues.due_date_form_remove" }} "> {{ svg "octicon-trash" }} </a>
<a class="issue-due-remove tooltip muted" data-content=" {{ $ .locale .Tr "repo.issues.due_date_form_remove" }} "> {{ svg "octicon-trash" }} </a>
{{ end }}
{{ end }}
</div>
</div>
@ -473,8 +473,8 @@
</span>
</span>
<div class="ui relaxed divided list">
<div class="ui relaxed divided list">
{{ range .BlockingDependencies }}
{{ range .BlockingDependencies }}
<div class="item dependency {{ if .Issue .IsClosed }} is-closed {{ end }} df ac sb">
<div class="item dependency {{ if .Issue .IsClosed }} is-closed {{ end }} gt- df gt- ac gt- sb">
<div class="item-left df jc fc f1">
<div class="item-left gt- df gt- jc gt- fc gt- f1">
<a class="title tooltip" href=" {{ .Issue .Link }} " data-content="# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }} ">
<a class="title tooltip" href=" {{ .Issue .Link }} " data-content="# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }} ">
# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }}
# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }}
</a>
</a>
@ -482,7 +482,7 @@
{{ .Repository .OwnerName }} / {{ .Repository .Name }}
{{ .Repository .OwnerName }} / {{ .Repository .Name }}
</div>
</div>
</div>
</div>
<div class="item-right df ac">
<div class="item-right gt- df gt- ac">
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
<a class="delete-dependency-button tooltip ci muted" data-id=" {{ .Issue .ID }} " data-type="blocking" data-content=" {{ $ .locale .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
<a class="delete-dependency-button tooltip ci muted" data-id=" {{ .Issue .ID }} " data-type="blocking" data-content=" {{ $ .locale .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
{{ svg "octicon-trash" 1 6 }}
{{ svg "octicon-trash" 1 6 }}
@ -500,8 +500,8 @@
</span>
</span>
<div class="ui relaxed divided list">
<div class="ui relaxed divided list">
{{ range .BlockedByDependencies }}
{{ range .BlockedByDependencies }}
<div class="item dependency {{ if .Issue .IsClosed }} is-closed {{ end }} df ac sb">
<div class="item dependency {{ if .Issue .IsClosed }} is-closed {{ end }} gt- df gt- ac gt- sb">
<div class="item-left df jc fc f1">
<div class="item-left gt- df gt- jc gt- fc gt- f1">
<a class="title tooltip" href=" {{ .Issue .Link }} " data-content="# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }} ">
<a class="title tooltip" href=" {{ .Issue .Link }} " data-content="# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }} ">
# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }}
# {{ .Issue .Index }} {{ .Issue .Title | RenderEmoji }}
</a>
</a>
@ -509,7 +509,7 @@
{{ .Repository .OwnerName }} / {{ .Repository .Name }}
{{ .Repository .OwnerName }} / {{ .Repository .Name }}
</div>
</div>
</div>
</div>
<div class="item-right df ac">
<div class="item-right gt- df gt- ac">
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
<a class="delete-dependency-button tooltip ci muted" data-id=" {{ .Issue .ID }} " data-type="blockedBy" data-content=" {{ $ .locale .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
<a class="delete-dependency-button tooltip ci muted" data-id=" {{ .Issue .ID }} " data-type="blockedBy" data-content=" {{ $ .locale .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
{{ svg "octicon-trash" 1 6 }}
{{ svg "octicon-trash" 1 6 }}
@ -577,10 +577,10 @@
<div class="ui divider"></div>
<div class="ui divider"></div>
<div class="ui equal width compact grid">
<div class="ui equal width compact grid">
<div class="row ac">
<div class="row gt- ac">
{{ $ issueReferenceLink : = printf "%s#%d" .Issue .Repo .FullName .Issue .Index }}
{{ $ issueReferenceLink : = printf "%s#%d" .Issue .Repo .FullName .Issue .Index }}
<span class="text column truncate"> {{ .locale .Tr "repo.issues.reference_link" $ issueReferenceLink }} </span>
<span class="text column truncate"> {{ .locale .Tr "repo.issues.reference_link" $ issueReferenceLink }} </span>
<button class="ui two wide button column p-3" data-clipboard-text=" {{ $ issueReferenceLink }} "> {{ svg "octicon-copy" 1 4 }} </button>
<button class="ui two wide button column gt- p-3" data-clipboard-text=" {{ $ issueReferenceLink }} "> {{ svg "octicon-copy" 1 4 }} </button>
</div>
</div>
</div>
</div>
@ -661,7 +661,7 @@
</form>
</form>
</div>
</div>
</div>
</div>
<button class="fluid ui show-modal button negative mt-3" data-modal="#delete">
<button class="fluid ui show-modal button negative gt- mt-3" data-modal="#delete">
{{ svg "octicon-trash" }}
{{ svg "octicon-trash" }}
{{ .locale .Tr "repo.issues.delete" }}
{{ .locale .Tr "repo.issues.delete" }}
</button>
</button>