summaryrefslogtreecommitdiffstats
path: root/templates/repo/migrate.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-22 09:49:25 -0500
committerUnknwon <u@gogs.io>2015-02-22 09:49:25 -0500
commit059338139ca4a70cb1138dc09039abb5dac0d0f2 (patch)
tree4b80829314df3b9f7e21b67ccf5fc30146f0c4e4 /templates/repo/migrate.tmpl
parentc753fdceaf0549aa865cff4e1f42be5d907bbdb1 (diff)
downloadgitea-059338139ca4a70cb1138dc09039abb5dac0d0f2.tar.gz
gitea-059338139ca4a70cb1138dc09039abb5dac0d0f2.zip
routers: able to migrate repo from local path
- modules/middleware/context.go: add HandleAPI method
Diffstat (limited to 'templates/repo/migrate.tmpl')
-rw-r--r--templates/repo/migrate.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl
index b28d06475c..5869be1558 100644
--- a/templates/repo/migrate.tmpl
+++ b/templates/repo/migrate.tmpl
@@ -7,8 +7,8 @@
<div class="panel-content">
{{template "ng/base/alert" .}}
<div class="field">
- <label class="req" for="url">HTTPS URL</label>
- <input class="ipt ipt-large ipt-radius {{if .Err_HttpsUrl}}ipt-error{{end}}" id="url" name="url" type="text" value="{{.url}}" required />
+ <label class="req" for="clone_addr">{{.i18n.Tr "repo.migrate.clone_address"}}</label>
+ <input class="ipt ipt-large ipt-radius {{if .Err_CloneAddr}}ipt-error{{end}}" id="clone_addr" name="clone_addr" type="text" value="{{.clone_addr}}" required />
</div>
<div class="field">
<span class="form-label"></span>