forked from gitea/gitea
1
0
Fork 0

add issue-create template file

This commit is contained in:
FuXiaoHei 2014-03-25 18:27:29 +08:00
parent 7f6126dd04
commit 6e33e54e71
3 changed files with 12 additions and 0 deletions

View File

@ -45,6 +45,7 @@ func CreateIssue(ctx *middleware.Context, params martini.Params, form auth.Creat
}
ctx.Data["Title"] = "Create issue"
ctx.Data["IsRepoToolbarIssues"] = true
if ctx.Req.Method == "GET" {
ctx.HTML(200, "issue/create")

View File

@ -0,0 +1,10 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
{{template "repo/nav" .}}
{{template "repo/toolbar" .}}
<div id="gogs-body" class="container">
<div id="gogs-source">
new-issues
</div>
</div>
{{template "base/footer" .}}

View File

@ -4,6 +4,7 @@
{{template "repo/toolbar" .}}
<div id="gogs-body" class="container">
<div id="gogs-source">
issues
</div>
</div>
{{template "base/footer" .}}