diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 122b70924a..d75827be5c 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -352,7 +352,7 @@ enable_update_checker = Enable Update Checker
enable_update_checker_helper = Checks for new version releases periodically by connecting to gitea.io.
env_config_keys = Environment Configuration
env_config_keys_prompt = The following environment variables will also be applied to your configuration file:
-config_write_file_prompt = These configuration options will be written into:
+config_write_file_prompt = These configuration options will be written into: %s
[home]
nav_menu = Navigation Menu
diff --git a/templates/install.tmpl b/templates/install.tmpl
index ea4023d409..6c4cc7df01 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -338,7 +338,9 @@
- {{ctx.Locale.Tr "install.config_write_file_prompt"}} {{.CustomConfFile}} {{svg "octicon-copy" 14}}
+ {{$copyBtn := svg "octicon-copy" 14}}
+ {{$filePath := HTMLFormat `%s %s ` .CustomConfFile .CustomConfFile $copyBtn}}
+ {{ctx.Locale.Tr "install.config_write_file_prompt" $filePath}}
{{ctx.Locale.Tr "install.install_btn_confirm"}}
diff --git a/templates/repo/issue/sidebar/assignee_list.tmpl b/templates/repo/issue/sidebar/assignee_list.tmpl
index bee6123e52..d8ccd73387 100644
--- a/templates/repo/issue/sidebar/assignee_list.tmpl
+++ b/templates/repo/issue/sidebar/assignee_list.tmpl
@@ -16,12 +16,14 @@
{{ctx.Locale.Tr "repo.issues.new.clear_assignees"}}
- {{range $data.CandidateAssignees}}
-
- {{svg "octicon-check"}}
- {{ctx.AvatarUtils.Avatar . 20}} {{template "repo/search_name" .}}
-
- {{end}}
+
diff --git a/templates/repo/issue/sidebar/label_list.tmpl b/templates/repo/issue/sidebar/label_list.tmpl
index ed80047661..526eb1ec04 100644
--- a/templates/repo/issue/sidebar/label_list.tmpl
+++ b/templates/repo/issue/sidebar/label_list.tmpl
@@ -17,25 +17,27 @@
{{ctx.Locale.Tr "repo.issues.new.clear_labels"}}
- {{$previousExclusiveScope := "_no_scope"}}
- {{range $data.RepoLabels}}
- {{$exclusiveScope := .ExclusiveScope}}
- {{if and (ne $previousExclusiveScope "_no_scope") (ne $previousExclusiveScope $exclusiveScope)}}
-
+
{{end}}
diff --git a/templates/repo/issue/sidebar/milestone_list.tmpl b/templates/repo/issue/sidebar/milestone_list.tmpl
index 4f2b4cb06f..2d16c6e1b4 100644
--- a/templates/repo/issue/sidebar/milestone_list.tmpl
+++ b/templates/repo/issue/sidebar/milestone_list.tmpl
@@ -20,25 +20,27 @@
{{ctx.Locale.Tr "repo.issues.new.clear_milestone"}}
- {{if $data.OpenMilestones}}
-
-
- {{range $data.OpenMilestones}}
-
- {{svg "octicon-milestone" 18}} {{.Name}}
-
+
diff --git a/templates/repo/issue/sidebar/project_list.tmpl b/templates/repo/issue/sidebar/project_list.tmpl
index ab1243cadd..6ca6156d2c 100644
--- a/templates/repo/issue/sidebar/project_list.tmpl
+++ b/templates/repo/issue/sidebar/project_list.tmpl
@@ -18,24 +18,26 @@
{{end}}
{{ctx.Locale.Tr "repo.issues.new.clear_projects"}}
- {{if $data.OpenProjects}}
-
-
- {{range $data.OpenProjects}}
-
- {{svg .IconName 18}} {{.Title}}
-
+
diff --git a/templates/repo/issue/sidebar/reviewer_list.tmpl b/templates/repo/issue/sidebar/reviewer_list.tmpl
index e990fc5afc..16eea23d69 100644
--- a/templates/repo/issue/sidebar/reviewer_list.tmpl
+++ b/templates/repo/issue/sidebar/reviewer_list.tmpl
@@ -17,27 +17,29 @@
{{end}}
- {{range $data.Reviewers}}
- {{if .User}}
-
- {{svg "octicon-check"}}
- {{ctx.AvatarUtils.Avatar .User 20}} {{template "repo/search_name" .User}}
-
- {{end}}
- {{end}}
- {{if $data.TeamReviewers}}
- {{if $data.Reviewers}}
{{end}}
- {{range $data.TeamReviewers}}
- {{if .Team}}
-
+
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index 01ddab97e5..7307b97870 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -66,6 +66,12 @@
overflow-x: auto;
}
+.issue-content-right .dropdown > .menu .item-secondary-info small {
+ display: block;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
@media (max-width: 767.98px) {
.issue-content-left,
.issue-content-right {