diff options
author | Unknwon <u@gogs.io> | 2015-12-11 04:55:08 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-11 04:55:08 -0500 |
commit | 40f3142264aa20103ba2c6375b344e491cff27f5 (patch) | |
tree | 2d17476fae2baf5e80aa56d596f83d37b141bcf7 /templates/repo/settings/options.tmpl | |
parent | b21160a13aeab088bdee14ea5444321214adbd05 (diff) | |
download | gitea-40f3142264aa20103ba2c6375b344e491cff27f5.tar.gz gitea-40f3142264aa20103ba2c6375b344e491cff27f5.zip |
#2114 External URL for wiki
Diffstat (limited to 'templates/repo/settings/options.tmpl')
-rw-r--r-- | templates/repo/settings/options.tmpl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 59053df123..4bb39bb07a 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -84,6 +84,17 @@ <label>{{.i18n.Tr "repo.settings.wiki_desc"}}</label> </div> </div> + <div class="inline field"> + <div class="ui checkbox"> + <input name="enable_external_wiki" type="checkbox" {{if .Repository.EnableExternalWiki}}checked{{end}}> + <label>{{.i18n.Tr "repo.settings.use_external_wiki"}}</label> + </div> + </div> + <div class="field"> + <label for="external_wiki_url">{{.i18n.Tr "repo.settings.external_wiki_url"}}</label> + <input id="external_wiki_url" name="external_wiki_url" type="url" value="{{.Repository.ExternalWikiURL}}"> + <p class="help">{{.i18n.Tr "repo.settings.external_wiki_url_desc"}}</p> + </div> <div class="ui divider"></div> @@ -102,7 +113,7 @@ </div> <div class="field"> <label for="tracker_url_format">{{.i18n.Tr "repo.settings.tracker_url_format"}}</label> - <input id="tracker_url_format" name="tracker_url_format" value="{{.Repository.ExternalTrackerFormat}}" placeholder="e.g. https://github.com/{user}/{repo}/issues/{index}"> + <input id="tracker_url_format" name="tracker_url_format" type="url" value="{{.Repository.ExternalTrackerFormat}}" placeholder="e.g. https://github.com/{user}/{repo}/issues/{index}"> <p class="help">{{.i18n.Tr "repo.settings.tracker_url_format_desc" | Str2html}}</p> </div> |