1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Refactor from Vue2 to Vue3 (#20044)

Close #19902
This commit is contained in:
André Jaenisch
2022-10-01 16:26:38 +02:00
committed by GitHub
parent 726afe8a9e
commit 04e97b8311
18 changed files with 384 additions and 606 deletions

View File

@@ -63,9 +63,9 @@
}
})();
</script>
<div id="diff-file-list-container"></div>
<div id="diff-file-list"></div>
<div id="diff-container">
<div id="diff-file-tree-container"></div>
<div id="diff-file-tree"></div>
<div id="diff-file-boxes" class="sixteen wide column">
{{range $i, $file := .Diff.Files}}
{{/*notice: the index of Diff.Files should not be used for element ID, because the index will be restarted from 0 when doing load-more for PRs with a lot of files*/}}

View File

@@ -19,7 +19,10 @@
{{end}}
inline-template
v-cloak
>
></repo-search>
</div>
<template id="dashboard-repo-list-template">
<div>
<div v-if="!isOrganization" class="ui two item tabable menu">
<a :class="{item: true, active: tab === 'repos'}" @click="changeTab('repos')">{{.locale.Tr "repository"}}</a>
@@ -193,5 +196,4 @@
</div>
</div>
</div>
</repo-search>
</div>
</template>