diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index cfad41ceb54c..848cb05a863a 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -1031,8 +1031,8 @@ issues.dependency.add = Add dependency…
issues.dependency.cancel = Cancel
issues.dependency.remove = Remove
issues.dependency.remove_info = Remove this dependency
-issues.dependency.added_dependency = `%[2]s added a new dependency %[3]s`
-issues.dependency.removed_dependency = `%[2]s removed a dependency %[3]s`
+issues.dependency.added_dependency = `added a new dependency %s`
+issues.dependency.removed_dependency = `removed a dependency %s`
issues.dependency.issue_closing_blockedby = Closing this pull request is blocked by the following issues
issues.dependency.pr_closing_blockedby = Closing this issue is blocked by the following issues
issues.dependency.issue_close_blocks = This issue blocks closing of the following issues
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index bf06a12d6fa4..5f0559c06819 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -22,9 +22,21 @@
{{else if eq .Type 13}}
@@ -223,8 +241,10 @@
-
{{.Poster.GetDisplayName}} {{$.i18n.Tr "repo.issues.stop_tracking_history" $createdStr | Safe}}
-
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.stop_tracking_history" $createdStr | Safe}}
+
{{svg "octicon-clock" 16}}
{{.Content}}
@@ -236,7 +256,10 @@
-
{{.Poster.GetDisplayName}} {{$.i18n.Tr "repo.issues.add_time_history" $createdStr | Safe}}
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.add_time_history" $createdStr | Safe}}
+
{{svg "octicon-clock" 16}}
{{.Content}}
@@ -248,7 +271,10 @@
-
{{.Poster.GetDisplayName}} {{$.i18n.Tr "repo.issues.cancel_tracking_history" $createdStr | Safe}}
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.cancel_tracking_history" $createdStr | Safe}}
+
{{else if eq .Type 16}}
{{else if eq .Type 17}}
@@ -266,8 +293,9 @@
-
{{.Poster.GetDisplayName}}
- {{$.i18n.Tr "repo.issues.due_date_modified" (.Content | ParseDeadline) $createdStr | Safe}}
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.due_date_modified" (.Content | ParseDeadline) $createdStr | Safe}}
{{else if eq .Type 18}}
@@ -276,8 +304,9 @@
-
{{.Poster.GetDisplayName}}
- {{$.i18n.Tr "repo.issues.due_date_remove" .Content $createdStr | Safe}}
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.due_date_remove" .Content $createdStr | Safe}}
{{else if eq .Type 19}}
@@ -287,7 +316,8 @@
- {{$.i18n.Tr "repo.issues.dependency.added_dependency" .Poster.HomeLink (.Poster.GetDisplayName|Escape) $createdStr | Safe}}
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.dependency.added_dependency" $createdStr | Safe}}
{{if .DependentIssue}}
@@ -311,7 +341,8 @@
- {{$.i18n.Tr "repo.issues.dependency.removed_dependency" .Poster.HomeLink (.Poster.GetDisplayName|Escape) $createdStr | Safe}}
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.dependency.removed_dependency" $createdStr | Safe}}
{{if .DependentIssue}}
@@ -345,7 +376,7 @@
{{if .OriginalAuthor }}
{{ .OriginalAuthor }} {{if $.Repository.OriginalURL}}({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}
{{else}}
-
{{.Poster.GetDisplayName}}
+
{{.Poster.GetDisplayName}}
{{end}}
{{if eq .Review.Type 1}}
@@ -367,7 +398,7 @@
{{if .OriginalAuthor }}
{{ .OriginalAuthor }} {{if $.Repository.OriginalURL}}({{$.i18n.Tr "repo.migrated_from" $.Repository.OriginalURL $.Repository.GetOriginalURLHostname | Safe }}){{end}}
{{else}}
-
{{.Poster.GetDisplayName}}
+
{{.Poster.GetDisplayName}}
{{end}}
{{$.i18n.Tr "repo.issues.review.left_comment" | Safe}}
@@ -437,20 +468,20 @@
@@ -484,14 +515,15 @@
-
{{ if .Content }}
-
{{.Poster.GetDisplayName}}
- {{$.i18n.Tr "repo.issues.lock_with_reason" .Content $createdStr | Safe}}
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.lock_with_reason" .Content $createdStr | Safe}}
{{ else }}
- {{.Poster.GetDisplayName}}
- {{$.i18n.Tr "repo.issues.lock_no_reason" $createdStr | Safe}}
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.lock_no_reason" $createdStr | Safe}}
{{ end }}
@@ -501,10 +533,10 @@
-
-
{{.Poster.GetDisplayName}}
- {{$.i18n.Tr "repo.issues.unlock_comment" $createdStr | Safe}}
-
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.unlock_comment" $createdStr | Safe}}
+
{{else if eq .Type 25}}
@@ -512,8 +544,9 @@
-
{{.Poster.Name}}
- {{$.i18n.Tr "repo.pulls.change_target_branch_at" (.OldRef|Escape) (.NewRef|Escape) $createdStr | Safe}}
+
+ {{.Poster.Name}}
+ {{$.i18n.Tr "repo.pulls.change_target_branch_at" (.OldRef|Escape) (.NewRef|Escape) $createdStr | Safe}}
{{else if eq .Type 26}}
@@ -522,7 +555,10 @@
-
{{.Poster.GetDisplayName}} {{$.i18n.Tr "repo.issues.del_time_history" $createdStr | Safe}}
+
+ {{.Poster.GetDisplayName}}
+ {{$.i18n.Tr "repo.issues.del_time_history" $createdStr | Safe}}
+
{{svg "octicon-clock" 16}}
{{.Content}}
@@ -535,7 +571,7 @@
- {{.Poster.GetDisplayName}}
+ {{.Poster.GetDisplayName}}
{{if .RemovedAssignee}}
{{if eq .PosterID .AssigneeID}}
{{$.i18n.Tr "repo.issues.review.remove_review_request_self" $createdStr | Safe}}
@@ -547,6 +583,5 @@
{{end}}
-
{{end}}
{{end}}
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 884d4193d801..979d2ab45b0d 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -810,6 +810,10 @@
&.event > .text {
line-height: 30px;
}
+
+ .author {
+ font-weight: 700;
+ }
}
.comment {