|
|
@ -9,11 +9,11 @@ |
|
|
|
22 = REVIEW, 23 = ISSUE_LOCKED, 24 = ISSUE_UNLOCKED, 25 = TARGET_BRANCH_CHANGED, |
|
|
|
22 = REVIEW, 23 = ISSUE_LOCKED, 24 = ISSUE_UNLOCKED, 25 = TARGET_BRANCH_CHANGED, |
|
|
|
26 = DELETE_TIME_MANUAL, 27 = REVIEW_REQUEST --> |
|
|
|
26 = DELETE_TIME_MANUAL, 27 = REVIEW_REQUEST --> |
|
|
|
{{if eq .Type 0}} |
|
|
|
{{if eq .Type 0}} |
|
|
|
<div class="comment" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item comment" id="{{.HashTag}}"> |
|
|
|
{{if .OriginalAuthor }} |
|
|
|
{{if .OriginalAuthor }} |
|
|
|
<span class="avatar"><img src="/img/avatar_default.png"></span> |
|
|
|
<span class="timeline-avatar"><img src="/img/avatar_default.png"></span> |
|
|
|
{{else}} |
|
|
|
{{else}} |
|
|
|
<a class="avatar" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}> |
|
|
|
<a class="timeline-avatar" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
@ -69,16 +69,16 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 1}} |
|
|
|
{{else if eq .Type 1}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-primitive-dot" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> {{$.i18n.Tr "repo.issues.reopened_at" .EventTag $createdStr | Safe}}</span> |
|
|
|
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> {{$.i18n.Tr "repo.issues.reopened_at" .EventTag $createdStr | Safe}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 2}} |
|
|
|
{{else if eq .Type 2}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
<span class="issue-symbol">{{svg "octicon-circle-slash" 16}}</span> |
|
|
|
<span class="badge">{{svg "octicon-circle-slash" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -98,8 +98,8 @@ |
|
|
|
{{ $refTr = "repo.issues.ref_reopening_from" }} |
|
|
|
{{ $refTr = "repo.issues.ref_reopening_from" }} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{ $createdStr:= TimeSinceUnix .CreatedUnix $.Lang }} |
|
|
|
{{ $createdStr:= TimeSinceUnix .CreatedUnix $.Lang }} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-bookmark" 16}} |
|
|
|
<span class="badge">{{svg "octicon-bookmark" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -114,8 +114,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 4}} |
|
|
|
{{else if eq .Type 4}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-bookmark" 16}} |
|
|
|
<span class="badge">{{svg "octicon-bookmark" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -128,8 +128,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 7}} |
|
|
|
{{else if eq .Type 7}} |
|
|
|
{{if .Label}} |
|
|
|
{{if .Label}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-tag" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -138,8 +138,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{else if eq .Type 8}} |
|
|
|
{{else if eq .Type 8}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-milestone" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -147,8 +147,8 @@ |
|
|
|
{{if gt .OldMilestoneID 0}}{{if gt .MilestoneID 0}}{{$.i18n.Tr "repo.issues.change_milestone_at" (.OldMilestone.Name|Escape) (.Milestone.Name|Escape) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_milestone_at" (.OldMilestone.Name|Escape) $createdStr | Safe}}{{end}}{{else if gt .MilestoneID 0}}{{$.i18n.Tr "repo.issues.add_milestone_at" (.Milestone.Name|Escape) $createdStr | Safe}}{{end}}</span> |
|
|
|
{{if gt .OldMilestoneID 0}}{{if gt .MilestoneID 0}}{{$.i18n.Tr "repo.issues.change_milestone_at" (.OldMilestone.Name|Escape) (.Milestone.Name|Escape) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_milestone_at" (.OldMilestone.Name|Escape) $createdStr | Safe}}{{end}}{{else if gt .MilestoneID 0}}{{$.i18n.Tr "repo.issues.add_milestone_at" (.Milestone.Name|Escape) $createdStr | Safe}}{{end}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 9}} |
|
|
|
{{else if eq .Type 9}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-person" 16}}</span> |
|
|
|
{{if gt .AssigneeID 0}} |
|
|
|
{{if gt .AssigneeID 0}} |
|
|
|
{{if .RemovedAssignee}} |
|
|
|
{{if .RemovedAssignee}} |
|
|
|
<a class="ui avatar image" href="{{.Assignee.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Assignee.HomeLink}}"> |
|
|
@ -178,8 +178,8 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 10}} |
|
|
|
{{else if eq .Type 10}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-pencil" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -188,8 +188,8 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 11}} |
|
|
|
{{else if eq .Type 11}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-git-branch" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -198,16 +198,16 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 12}} |
|
|
|
{{else if eq .Type 12}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> {{$.i18n.Tr "repo.issues.start_tracking_history" $createdStr | Safe}}</span> |
|
|
|
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> {{$.i18n.Tr "repo.issues.start_tracking_history" $createdStr | Safe}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 13}} |
|
|
|
{{else if eq .Type 13}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -219,8 +219,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 14}} |
|
|
|
{{else if eq .Type 14}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -231,16 +231,16 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 15}} |
|
|
|
{{else if eq .Type 15}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> {{$.i18n.Tr "repo.issues.cancel_tracking_history" $createdStr | Safe}}</span> |
|
|
|
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> {{$.i18n.Tr "repo.issues.cancel_tracking_history" $createdStr | Safe}}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 16}} |
|
|
|
{{else if eq .Type 16}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -249,8 +249,8 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 17}} |
|
|
|
{{else if eq .Type 17}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -259,8 +259,8 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 18}} |
|
|
|
{{else if eq .Type 18}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -269,8 +269,8 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 19}} |
|
|
|
{{else if eq .Type 19}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-dependent" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -293,8 +293,8 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 20}} |
|
|
|
{{else if eq .Type 20}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-dependent" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -317,17 +317,18 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 22}} |
|
|
|
{{else if eq .Type 22}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item-group"> |
|
|
|
<span class="issue-symbol {{if eq .Review.Type 1}}green |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{- else if eq .Review.Type 2}}grey |
|
|
|
|
|
|
|
{{- else if eq .Review.Type 3}}red |
|
|
|
|
|
|
|
{{- else}}grey{{end}}">{{svg (printf "octicon-%s" .Review.Type.Icon) 16}}</span> |
|
|
|
|
|
|
|
{{if .OriginalAuthor }} |
|
|
|
{{if .OriginalAuthor }} |
|
|
|
{{else}} |
|
|
|
{{else}} |
|
|
|
<a class="ui avatar image"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}> |
|
|
|
<a class="timeline-avatar"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
|
|
|
|
<span class="badge {{if eq .Review.Type 1}}green |
|
|
|
|
|
|
|
{{- else if eq .Review.Type 2}}grey |
|
|
|
|
|
|
|
{{- else if eq .Review.Type 3}}red |
|
|
|
|
|
|
|
{{- else}}grey{{end}}">{{svg (printf "octicon-%s" .Review.Type.Icon) 16}}</span> |
|
|
|
<span class="text grey"> |
|
|
|
<span class="text grey"> |
|
|
|
{{if .OriginalAuthor }} |
|
|
|
{{if .OriginalAuthor }} |
|
|
|
<span class="text black"><i class="fa {{MigrationIcon $.Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> {{ .OriginalAuthor }}</span><span class="text grey"> {{if $.Repository.OriginalURL}}</span><span class="text migrate">({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}</span> |
|
|
|
<span class="text black"><i class="fa {{MigrationIcon $.Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> {{ .OriginalAuthor }}</span><span class="text grey"> {{if $.Repository.OriginalURL}}</span><span class="text migrate">({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}</span> |
|
|
@ -345,12 +346,31 @@ |
|
|
|
{{$.i18n.Tr "repo.issues.review.comment" $createdStr | Safe}} |
|
|
|
{{$.i18n.Tr "repo.issues.review.comment" $createdStr | Safe}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
{{if .Content}} |
|
|
|
{{if .Content}} |
|
|
|
|
|
|
|
<div class="timeline-item comment"> |
|
|
|
|
|
|
|
<div class="content"> |
|
|
|
|
|
|
|
<div class="ui top attached header arrow-top"> |
|
|
|
|
|
|
|
<span class="text grey"> |
|
|
|
|
|
|
|
{{if .OriginalAuthor }} |
|
|
|
|
|
|
|
<span class="text black"><i class="fa {{MigrationIcon $.Repository.GetOriginalURLHostname}}" aria-hidden="true"></i> {{ .OriginalAuthor }}</span><span class="text grey"> {{if $.Repository.OriginalURL}}</span><span class="text migrate">({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}</span> |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
<a{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{$.i18n.Tr "repo.issues.review.left_comment" | Safe}} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="ui attached segment"> |
|
|
|
<div class="detail"> |
|
|
|
<div class="detail"> |
|
|
|
{{svg "octicon-quote" 16}} |
|
|
|
<span class="text black has-emoji">{{.Content}}</span> |
|
|
|
<span class="text grey has-emoji">{{.Content}}</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{if .Review.CodeComments}} |
|
|
|
|
|
|
|
<div class="timeline-item event"> |
|
|
|
{{ range $filename, $lines := .Review.CodeComments}} |
|
|
|
{{ range $filename, $lines := .Review.CodeComments}} |
|
|
|
{{range $line, $comms := $lines}} |
|
|
|
{{range $line, $comms := $lines}} |
|
|
|
<div class="ui segments"> |
|
|
|
<div class="ui segments"> |
|
|
@ -418,9 +438,11 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
</div> |
|
|
|
{{else if eq .Type 23}} |
|
|
|
{{else if eq .Type 23}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
<span class="issue-symbol">{{svg "octicon-lock" 16}}</span> |
|
|
|
<span class="badge">{{svg "octicon-lock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -436,8 +458,8 @@ |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 24}} |
|
|
|
{{else if eq .Type 24}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
<span class="issue-symbol">{{svg "octicon-key" 16}}</span> |
|
|
|
<span class="badge">{{svg "octicon-key" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -447,8 +469,8 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 25}} |
|
|
|
{{else if eq .Type 25}} |
|
|
|
<div class="event"> |
|
|
|
<div class="timeline-item event"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-git-branch" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -457,8 +479,8 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 26}} |
|
|
|
{{else if eq .Type 26}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
{{svg "octicon-primitive-dot" 16}} |
|
|
|
<span class="badge">{{svg "octicon-clock" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -469,8 +491,8 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{else if eq .Type 27}} |
|
|
|
{{else if eq .Type 27}} |
|
|
|
<div class="event" id="{{.HashTag}}"> |
|
|
|
<div class="timeline-item event" id="{{.HashTag}}"> |
|
|
|
<span class="issue-symbol">{{svg "octicon-eye" 16}}</span> |
|
|
|
<span class="badge">{{svg "octicon-eye" 16}}</span> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<a class="ui avatar image" href="{{.Poster.HomeLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
<img src="{{.Poster.RelAvatarLink}}"> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|