aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-legacy.ts
diff options
context:
space:
mode:
authorBlender Defender <contact.blenderdefender@gmail.com>2024-12-11 14:54:30 +0100
committerGitHub <noreply@github.com>2024-12-11 21:54:30 +0800
commit18061af49068c8fcceb316f889d719bff6ba8155 (patch)
tree1807e097a933379a4bd513b68118815f09770b24 /web_src/js/features/repo-legacy.ts
parent8a53a39c426e95164e87a3b0857eb420711bfd85 (diff)
downloadgitea-18061af49068c8fcceb316f889d719bff6ba8155.tar.gz
gitea-18061af49068c8fcceb316f889d719bff6ba8155.zip
Rearrange Clone Panel (#31142)
Rearrange the clone panel to use less horizontal space. The following changes have been made to achieve this: - Moved everything into the dropdown menu - Moved the HTTPS/SSH Switch to a separate line - Moved the "Clone in VS Code"-Button up and added a divider - Named the dropdown button "Code", added appropriate icon --------- Co-authored-by: techknowlogick <techknowlogick@gitea.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/js/features/repo-legacy.ts')
-rw-r--r--web_src/js/features/repo-legacy.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/repo-legacy.ts b/web_src/js/features/repo-legacy.ts
index dfea66c7ad..2f760f1d15 100644
--- a/web_src/js/features/repo-legacy.ts
+++ b/web_src/js/features/repo-legacy.ts
@@ -9,7 +9,7 @@ import {
import {initUnicodeEscapeButton} from './repo-unicode-escape.ts';
import {initRepoBranchTagSelector} from '../components/RepoBranchTagSelector.vue';
import {
- initRepoCloneLink, initRepoCommonBranchOrTagDropdown, initRepoCommonFilterSearchDropdown,
+ initRepoCloneButtons, initRepoCommonBranchOrTagDropdown, initRepoCommonFilterSearchDropdown,
} from './repo-common.ts';
import {initCitationFileCopyContent} from './citation.ts';
import {initCompLabelEdit} from './comp/LabelEdit.ts';
@@ -54,7 +54,7 @@ export function initRepository() {
initRepoCommonFilterSearchDropdown('.choose.branch .dropdown');
}
- initRepoCloneLink();
+ initRepoCloneButtons();
initCitationFileCopyContent();
initRepoSettings();