@ -23,7 +23,7 @@
{{ if .Reviewers }}
{{ if .Reviewers }}
{{ range .Reviewers }}
{{ range .Reviewers }}
{{ if .User }}
{{ if .User }}
<a class=" {{ if not .CanChange }} ui poping u p {{ 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=" {{ $ .i18n .Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
<a class=" {{ if not .CanChange }} ui toolti p {{ 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=" {{ $ .i18n .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 "mr-3" }}
@ -37,7 +37,7 @@
<div class="ui divider"></div>
<div class="ui divider"></div>
{{ range .TeamReviewers }}
{{ range .TeamReviewers }}
{{ if .Team }}
{{ if .Team }}
<a class=" {{ if not .CanChange }} ui poping u p {{ 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=" {{ $ .i18n .Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
<a class=" {{ if not .CanChange }} ui toolti p {{ 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=" {{ $ .i18n .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 "ml-4 mr-2" }} {{ $ .Issue .Repo .OwnerName }} / {{ .Team .Name }}
@ -69,7 +69,7 @@
{{ - else }} grey {{ end }} right ">
{{ - else }} grey {{ end }} right ">
{{ if .CanChange }}
{{ if .CanChange }}
<a href="#" class="ui poping u p icon re-request-review {{ if .Checked }} checked {{ end }} " data-content=" {{ if .Checked }} {{ $ .i18n .Tr "repo.issues.remove_request_review" }} {{ else }} {{ $ .i18n .Tr "repo.issues.re_request_review" }} {{ end }} " data-issue-id=" {{ $ .Issue .ID }} " data-id=" {{ .ItemID }} " data-update-url=" {{ $ .RepoLink }} /issues/request_review">
<a href="#" class="ui toolti p icon re-request-review {{ if .Checked }} checked {{ end }} " data-content=" {{ if .Checked }} {{ $ .i18n .Tr "repo.issues.remove_request_review" }} {{ else }} {{ $ .i18n .Tr "repo.issues.re_request_review" }} {{ end }} " data-issue-id=" {{ $ .Issue .ID }} " data-id=" {{ .ItemID }} " data-update-url=" {{ $ .RepoLink }} /issues/request_review">
{{ if .Checked }} {{ svg "octicon-trash" }} {{ else }} {{ svg "octicon-sync" }} {{ end }}
{{ if .Checked }} {{ svg "octicon-trash" }} {{ else }} {{ svg "octicon-sync" }} {{ end }}
</a>
</a>
{{ end }}
{{ end }}
@ -79,7 +79,7 @@
{{ end }}
{{ end }}
{{ range .OriginalReviews }}
{{ range .OriginalReviews }}
<div class="item" style="margin-bottom: 10px;">
<div class="item" style="margin-bottom: 10px;">
<a href=" {{ $ .Repository .OriginalURL }} " class="ui poping u p" data-content=" {{ $ .i18n .Tr "repo.migrated_from_fake" ( $ .Repository .GetOriginalURLHostname | Escape ) | Safe }} ">
<a href=" {{ $ .Repository .OriginalURL }} " class="ui toolti p" data-content=" {{ $ .i18n .Tr "repo.migrated_from_fake" ( $ .Repository .GetOriginalURLHostname | Escape ) | Safe }} ">
<span class="text black">
<span class="text black">
{{ svg ( MigrationIcon $ .Repository .GetOriginalURLHostname ) }}
{{ svg ( MigrationIcon $ .Repository .GetOriginalURLHostname ) }}
{{ .OriginalAuthor }}
{{ .OriginalAuthor }}
@ -308,7 +308,7 @@
<span class="text"><strong> {{ .i18n .Tr "repo.issues.num_participants" .NumParticipants }} </strong></span>
<span class="text"><strong> {{ .i18n .Tr "repo.issues.num_participants" .NumParticipants }} </strong></span>
<div class="ui list df fw">
<div class="ui list df fw">
{{ range .Participants }}
{{ range .Participants }}
<a class="ui poping u p" {{ if gt .ID 0 }} href=" {{ .HomeLink }} " {{ end }} data-content=" {{ .GetDisplayName }} " data-position="top center" data-variation="small inverted ">
<a class="ui toolti p" {{ if gt .ID 0 }} href=" {{ .HomeLink }} " {{ end }} data-content=" {{ .GetDisplayName }} " data-position="top center">
{{ avatar . 2 8 "my-1 mr-2" }}
{{ avatar . 2 8 "my-1 mr-2" }}
</a>
</a>
{{ end }}
{{ end }}
@ -358,7 +358,7 @@
{{ .i18n .Tr "repo.issues.tracking_already_started" ( .OtherStopwatchURL | Escape ) | Safe }}
{{ .i18n .Tr "repo.issues.tracking_already_started" ( .OtherStopwatchURL | Escape ) | Safe }}
</div>
</div>
{{ end }}
{{ end }}
<button class="ui fluid button poping u p issue-start-time" data-content=' {{ .i18n .Tr "repo.issues.start_tracking" }} ' data-position="top center" data-variation="small inverted "> {{ .i18n .Tr "repo.issues.start_tracking_short" }} </button>
<button class="ui fluid button toolti p issue-start-time" data-content=' {{ .i18n .Tr "repo.issues.start_tracking" }} ' data-position="top center"> {{ .i18n .Tr "repo.issues.start_tracking_short" }} </button>
<div class="ui mini modal issue-start-time-modal">
<div class="ui mini modal issue-start-time-modal">
<div class="header"> {{ .i18n .Tr "repo.issues.add_time" }} </div>
<div class="header"> {{ .i18n .Tr "repo.issues.add_time" }} </div>
<div class="content">
<div class="content">
@ -373,7 +373,7 @@
<div class="ui red cancel button"> {{ .i18n .Tr "repo.issues.add_time_cancel" }} </div>
<div class="ui red cancel button"> {{ .i18n .Tr "repo.issues.add_time_cancel" }} </div>
</div>
</div>
</div>
</div>
<button class="ui fluid button green poping u p issue-add-time mt-3" data-content=' {{ .i18n .Tr "repo.issues.add_time" }} ' data-position="top center" data-variation="small inverted "> {{ .i18n .Tr "repo.issues.add_time_short" }} </button>
<button class="ui fluid button green toolti p issue-add-time mt-3" data-content=' {{ .i18n .Tr "repo.issues.add_time" }} ' data-position="top center"> {{ .i18n .Tr "repo.issues.add_time_short" }} </button>
{{ end }}
{{ end }}
</div>
</div>
</div>
</div>
@ -411,14 +411,14 @@
{{ if ne .Issue .DeadlineUnix 0 }}
{{ if ne .Issue .DeadlineUnix 0 }}
<p>
<p>
<div class="df sb ac">
<div class="df sb ac">
<div class="due-date poping u p {{ if .Issue .IsOverdue }} text red {{ end }} " {{ if .Issue .IsOverdue }} data-content=" {{ .i18n .Tr "repo.issues.due_date_overdue" }} " {{ end }} >
<div class="due-date toolti p {{ if .Issue .IsOverdue }} text red {{ end }} " {{ if .Issue .IsOverdue }} data-content=" {{ .i18n .Tr "repo.issues.due_date_overdue" }} " {{ end }} >
{{ svg "octicon-calendar" 1 6 "mr-3" }}
{{ svg "octicon-calendar" 1 6 "mr-3" }}
{{ .Issue .DeadlineUnix .FormatDate }}
{{ .Issue .DeadlineUnix .FormatDate }}
</div>
</div>
<div>
<div>
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository .IsArchived ) }}
<a class="issue-due-edit poping u p muted" data-content=" {{ $ .i18n .Tr "repo.issues.due_date_form_edit" }} "> {{ svg "octicon-pencil" 1 6 "mr-2" }} </a>
<a class="issue-due-edit toolti p muted" data-content=" {{ $ .i18n .Tr "repo.issues.due_date_form_edit" }} "> {{ svg "octicon-pencil" 1 6 "mr-2" }} </a>
<a class="issue-due-remove poping u p muted" data-content=" {{ $ .i18n .Tr "repo.issues.due_date_form_remove" }} "> {{ svg "octicon-trash" }} </a>
<a class="issue-due-remove toolti p muted" data-content=" {{ $ .i18n .Tr "repo.issues.due_date_form_remove" }} "> {{ svg "octicon-trash" }} </a>
{{ end }}
{{ end }}
</div>
</div>
</div>
</div>
@ -461,7 +461,7 @@
{{ end }}
{{ end }}
{{ if .BlockingDependencies }}
{{ if .BlockingDependencies }}
<span class="text poping u p" data-content=" {{ if .Issue .IsPull }} {{ .i18n .Tr "repo.issues.dependency.pr_close_blocks" }} {{ else }} {{ .i18n .Tr "repo.issues.dependency.issue_close_blocks" }} {{ end }} ">
<span class="text toolti p" data-content=" {{ if .Issue .IsPull }} {{ .i18n .Tr "repo.issues.dependency.pr_close_blocks" }} {{ else }} {{ .i18n .Tr "repo.issues.dependency.issue_close_blocks" }} {{ end }} ">
<strong> {{ .i18n .Tr "repo.issues.dependency.blocks_short" }} </strong>
<strong> {{ .i18n .Tr "repo.issues.dependency.blocks_short" }} </strong>
</span>
</span>
<div class="ui relaxed divided list">
<div class="ui relaxed divided list">
@ -477,7 +477,7 @@
</div>
</div>
<div class="item-right df ac">
<div class="item-right df ac">
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
<a class="delete-dependency-button poping u p ci muted" data-id=" {{ .Issue .ID }} " data-type="blocking" data-content=" {{ $ .i18n .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
<a class="delete-dependency-button toolti p ci muted" data-id=" {{ .Issue .ID }} " data-type="blocking" data-content=" {{ $ .i18n .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
{{ svg "octicon-trash" 1 6 }}
{{ svg "octicon-trash" 1 6 }}
</a>
</a>
{{ end }}
{{ end }}
@ -488,7 +488,7 @@
{{ end }}
{{ end }}
{{ if .BlockedByDependencies }}
{{ if .BlockedByDependencies }}
<span class="text poping u p" data-content=" {{ if .Issue .IsPull }} {{ .i18n .Tr "repo.issues.dependency.pr_closing_blockedby" }} {{ else }} {{ .i18n .Tr "repo.issues.dependency.issue_closing_blockedby" }} {{ end }} ">
<span class="text toolti p" data-content=" {{ if .Issue .IsPull }} {{ .i18n .Tr "repo.issues.dependency.pr_closing_blockedby" }} {{ else }} {{ .i18n .Tr "repo.issues.dependency.issue_closing_blockedby" }} {{ end }} ">
<strong> {{ .i18n .Tr "repo.issues.dependency.blocked_by_short" }} </strong>
<strong> {{ .i18n .Tr "repo.issues.dependency.blocked_by_short" }} </strong>
</span>
</span>
<div class="ui relaxed divided list">
<div class="ui relaxed divided list">
@ -504,7 +504,7 @@
</div>
</div>
<div class="item-right df ac">
<div class="item-right df ac">
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
{{ if and $ .CanCreateIssueDependencies ( not $ .Repository .IsArchived ) }}
<a class="delete-dependency-button poping u p ci muted" data-id=" {{ .Issue .ID }} " data-type="blockedBy" data-content=" {{ $ .i18n .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
<a class="delete-dependency-button toolti p ci muted" data-id=" {{ .Issue .ID }} " data-type="blockedBy" data-content=" {{ $ .i18n .Tr "repo.issues.dependency.remove_info" }} " data-inverted="">
{{ svg "octicon-trash" 1 6 }}
{{ svg "octicon-trash" 1 6 }}
</a>
</a>
{{ end }}
{{ end }}