From c4b36e0dd1498ac4a05d6131c3d2aa9d0e1c75ec Mon Sep 17 00:00:00 2001 From: delvh Date: Wed, 15 Feb 2023 10:58:16 +0100 Subject: [PATCH] Add tooltip to issue reference Previously, you had no idea what you are copying with the issue reference button for either long repo names, user names or issue indexes. Now, it is simply a bit redundant for short names but a lot easier for long names. --- templates/repo/issue/view_content/sidebar.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 8437ab8234182..90afe6b85ebb3 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -577,8 +577,8 @@
-
- {{$issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index}} + {{$issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index}} +
{{.locale.Tr "repo.issues.reference_link" $issueReferenceLink}}