diff options
author | Unknwon <u@gogs.io> | 2016-08-15 14:04:44 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-15 14:04:44 -0700 |
commit | 61e27dedf7a02cd01fbf8ad34913c973d057664a (patch) | |
tree | 1895c9e89935efe5738bb5fc9b4cf44b1d6a6631 /templates | |
parent | 94392a7af3d07f79adab195acfb7c1b545f68be9 (diff) | |
download | gitea-61e27dedf7a02cd01fbf8ad34913c973d057664a.tar.gz gitea-61e27dedf7a02cd01fbf8ad34913c973d057664a.zip |
#3466 fix response of pull request form validation error
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/issue/comment_tab.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 289612dc43..4d4c0e73bf 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.78.0815
\ No newline at end of file +0.9.79.0815
\ No newline at end of file diff --git a/templates/repo/issue/comment_tab.tmpl b/templates/repo/issue/comment_tab.tmpl index 6f9c91542a..b009060cd1 100644 --- a/templates/repo/issue/comment_tab.tmpl +++ b/templates/repo/issue/comment_tab.tmpl @@ -5,7 +5,7 @@ </div> <div class="ui bottom attached active tab segment" data-tab="write"> <textarea id="content" class="edit_area" name="content" tabindex="4" data-id="issue-{{.RepoName}}" data-url="{{AppSubUrl}}/api/v1/markdown" data-context="{{.Repo.RepoLink}}"> -{{if .IssueTemplate}}{{.IssueTemplate}}{{end}}{{if .PullRequestTemplate}}{{.PullRequestTemplate}}{{end}}</textarea> +{{if .IssueTemplate}}{{.IssueTemplate}}{{else if .PullRequestTemplate}}{{.PullRequestTemplate}}{{else}}{{.content}}{{end}}</textarea> </div> <div class="ui bottom attached tab segment markdown" data-tab="preview"> {{.i18n.Tr "repo.release.loading"}} |