From 4605e1a3f4e691c3b82f4b461c0fc452d219697b Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Wed, 11 Aug 2021 13:45:24 +0800 Subject: [PATCH 1/3] add link to vscode to repo header Signed-off-by: a1012112796 <1012112796@qq.com> --- options/locale/locale_en-US.ini | 1 + templates/repo/clone_buttons.tmpl | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index ccf19293ff8bf..21f8f20f4bce1 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -768,6 +768,7 @@ fork_repo = Fork Repository fork_from = Fork From fork_visibility_helper = The visibility of a forked repository cannot be changed. use_template = Use this template +clone_in_ide = Clone in IDE generate_repo = Generate Repository generate_from = Generate From repo_desc = Description diff --git a/templates/repo/clone_buttons.tmpl b/templates/repo/clone_buttons.tmpl index 8fc1ba12c13d3..676c5179b9ac9 100644 --- a/templates/repo/clone_buttons.tmpl +++ b/templates/repo/clone_buttons.tmpl @@ -1,3 +1,19 @@ +{{if not $.DisableHTTP}} +