summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-20 14:12:15 -0500
committerUnknwon <u@gogs.io>2016-02-20 14:12:15 -0500
commita703f7d7b42ec1d5190a84835379aba2f2d3250f (patch)
tree4be969388ba739491c11eb3e14b9b9c93936c711 /templates/repo
parentb7f3d94cd048cbad6bc406bcbd79b490ccd416a9 (diff)
parent658bfc2704eb7630911b5a3c994258757dd79cec (diff)
downloadgitea-a703f7d7b42ec1d5190a84835379aba2f2d3250f.tar.gz
gitea-a703f7d7b42ec1d5190a84835379aba2f2d3250f.zip
Merge pull request #2647 from andreynering/issue-template
Implement issue and pull request templates
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/issue/comment_tab.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/comment_tab.tmpl b/templates/repo/issue/comment_tab.tmpl
index 8f6c8ca778..851c3b1fae 100644
--- a/templates/repo/issue/comment_tab.tmpl
+++ b/templates/repo/issue/comment_tab.tmpl
@@ -4,7 +4,7 @@
<a class="item" data-tab="preview" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.RepoLink}}">{{.i18n.Tr "repo.release.preview"}}</a>
</div>
<div class="ui bottom attached active tab segment" data-tab="write">
- <textarea id="content" name="content" tabindex="4"></textarea>
+ <textarea id="content" name="content" tabindex="4">{{if .IssueTemplate}}{{.IssueTemplate}}{{end}}{{if .PullRequestTemplate}}{{.PullRequestTemplate}}{{end}}</textarea>
</div>
<div class="ui bottom attached tab segment markdown" data-tab="preview">
{{.i18n.Tr "repo.release.loading"}}