summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2017-01-23 02:19:50 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-23 09:19:50 +0800
commit74ed6dc3ad830d308a032fe213e9dfe83f954ffc (patch)
tree7b1af731b492d46785d162ca778e1b756b45850f /templates
parent1257d43e147efd985e740e0ec59f2e5b015e5b7d (diff)
downloadgitea-74ed6dc3ad830d308a032fe213e9dfe83f954ffc.tar.gz
gitea-74ed6dc3ad830d308a032fe213e9dfe83f954ffc.zip
Add option to app.ini to enable local import paths (#724)
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/migrate.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl
index 2ac3915272..17d5630328 100644
--- a/templates/repo/migrate.tmpl
+++ b/templates/repo/migrate.tmpl
@@ -12,7 +12,7 @@
<div class="inline required field {{if .Err_CloneAddr}}error{{end}}">
<label for="clone_addr">{{.i18n.Tr "repo.migrate.clone_address"}}</label>
<input id="clone_addr" name="clone_addr" value="{{.clone_addr}}" autofocus required>
- <span class="help">{{.i18n.Tr "repo.migrate.clone_address_desc"}}</span>
+ <span class="help">{{.i18n.Tr "repo.migrate.clone_address_desc"}}{{if .ContextUser.CanImportLocal}} {{.i18n.Tr "repo.migrate.clone_local_path"}}{{end}}</span>
</div>
<div class="ui accordion optional field">
<div class="title {{if .Err_Auth}}text red active{{end}}">