From 03b7e11bd6125d4128cf99bc408723d1548f0613 Mon Sep 17 00:00:00 2001 From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Date: Sun, 17 May 2020 18:59:25 +0200 Subject: [PATCH 1/2] Do not show lock icon on repo list for public repos in private org (#11445) Co-authored-by: zeripath Co-authored-by: Lauris BH --- templates/explore/repo_list.tmpl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 42e8d1f662d53..37bd38c5faeaa 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -15,10 +15,6 @@ {{svg "octicon-repo-forked" 16}} {{else if .IsMirror}} {{svg "octicon-repo-clone" 16}} - {{else if .Owner}} - {{if .Owner.Visibility.IsPrivate}} - {{svg "octicon-lock" 16}} - {{end}} {{end}}
{{if .PrimaryLanguage }} From 1d3b6aeda3bafc3de02aaf77bedbaa398d975f60 Mon Sep 17 00:00:00 2001 From: CirnoT <1447794+CirnoT@users.noreply.github.com> Date: Sun, 17 May 2020 20:52:03 +0200 Subject: [PATCH 2/2] Fix .comment-code-cloud not being removed when cancelling new code comment --- templates/repo/diff/comment_form.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/diff/comment_form.tmpl b/templates/repo/diff/comment_form.tmpl index a286725722922..e201db46875cf 100644 --- a/templates/repo/diff/comment_form.tmpl +++ b/templates/repo/diff/comment_form.tmpl @@ -2,7 +2,7 @@ {{if $.hidden}} {{end}} -
+ {{$.root.CsrfTokenHtml}}