diff options
author | Unknwon <u@gogs.io> | 2016-02-20 14:12:15 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-20 14:12:15 -0500 |
commit | a703f7d7b42ec1d5190a84835379aba2f2d3250f (patch) | |
tree | 4be969388ba739491c11eb3e14b9b9c93936c711 /templates/repo | |
parent | b7f3d94cd048cbad6bc406bcbd79b490ccd416a9 (diff) | |
parent | 658bfc2704eb7630911b5a3c994258757dd79cec (diff) | |
download | gitea-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.tmpl | 2 |
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"}} |