summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorRémy Boulanouar <rboulanouar@gmail.com>2016-11-04 09:06:54 +0100
committerRémy Boulanouar <rboulanouar@gmail.com>2016-11-04 09:06:54 +0100
commit8dc49dc1149fccda2b4da63fa63d23f2b6260466 (patch)
tree826472b0f25062dd952359e395e48c960ccdf2df /templates/repo/settings
parent4a5faecd8f90b4849ab671051e832b3872818b0a (diff)
downloadgitea-8dc49dc1149fccda2b4da63fa63d23f2b6260466.tar.gz
gitea-8dc49dc1149fccda2b4da63fa63d23f2b6260466.zip
Implementation of the feature to redirect to an external issue tracker
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/options.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 6b61cb7f8e..2588966c9d 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -162,6 +162,11 @@
</div>
<div class="field {{if not .Repository.EnableExternalTracker}}disabled{{end}}" id="external_issue_box">
<div class="field">
+ <label for="external_tracker_url">{{.i18n.Tr "repo.settings.external_tracker_url"}}</label>
+ <input id="external_tracker_url" name="external_tracker_url" type="url" value="{{.Repository.ExternalTrackerURL}}">
+ <p class="help">{{.i18n.Tr "repo.settings.external_tracker_url_desc"}}</p>
+ </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" 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>