aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-09-10 02:29:10 +0800
committerGitHub <noreply@github.com>2020-09-09 14:29:10 -0400
commite153cf07c34b1497906348df84a556851693c77f (patch)
tree79c642c2d04a907b0700c369108825d0b53085b9 /templates/user/dashboard
parent6483dbc8ec780dda22e21b605d1dc409826baff1 (diff)
downloadgitea-e153cf07c34b1497906348df84a556851693c77f.tar.gz
gitea-e153cf07c34b1497906348df84a556851693c77f.zip
Add a migrate service type switch page (#12697)
* Add a migrat service type switch page * Improve translations * remove images * Fix images * remove extra create repo button on dashboard * Follow reviewers' opinions * Fix frontend lint * Remove wrong submit file * Fix tests * Adjust the size of image * Apply suggestions from code review Co-authored-by: 赵智超 <1012112796@qq.com> * Remove username and password from migration of github/gitlab * Improve docs * Improve interface docs Co-authored-by: 赵智超 <1012112796@qq.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r--templates/user/dashboard/repolist.tmpl8
1 files changed, 0 insertions, 8 deletions
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl
index ca055e9d87..ce4a97a36f 100644
--- a/templates/user/dashboard/repolist.tmpl
+++ b/templates/user/dashboard/repolist.tmpl
@@ -25,14 +25,6 @@
<div v-show="tab === 'repos'" class="ui tab active list dashboard-repos">
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_repos"}} <span class="ui grey label">${reposTotalCount}</span>
- {{if or (not .ContextUser.IsOrganization) .IsOrganizationOwner}}
- <div class="ui right">
- <a class="poping up" :href="suburl + '/repo/create{{if .ContextUser.IsOrganization}}?org={{.ContextUser.ID}}{{end}}'" data-content="{{.i18n.Tr "new_repo"}}" data-variation="tiny inverted" data-position="left center">
- <i class="plus icon"></i>
- <span class="sr-only">{{.i18n.Tr "new_repo"}}</span>
- </a>
- </div>
- {{end}}
</h4>
<div class="ui attached secondary segment repos-search">
<div class="ui fluid right action left icon input" :class="{loading: isLoading}">