From 2f928316dbc2bb71137e857d97039d4f51f7d405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=99=BA=E8=B6=85?= <1012112796@qq.com> Date: Wed, 18 Mar 2020 00:19:03 +0800 Subject: [PATCH] hide gear icon for user who can't use them on sidebar (#10750) reason: If user can't choose the Assignees labels and Milestone It's not usefull to show a gear label , and it It will mislead the user into thinking that it's a BUG rather than thy don't have permission to chosse them. Signed-off-by: a1012112796 <1012112796@qq.com> --- templates/repo/issue/view_content/sidebar.tmpl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index d6fe28a074..1d1f1916da 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -5,7 +5,9 @@