This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
add issue-create template file
tags/v1.2.0-rc1
FuXiaoHei
12 years ago
parent
7f6126dd04
commit
6e33e54e71
3 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
routers/repo/issue.go
+10
-0
templates/issue/create.tmpl
+1
-0
templates/repo/issues.tmpl
+ 1
- 0
routers/repo/issue.go
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")
+ 10
- 0
templates/issue/create.tmpl
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" .}}
+ 1
- 0
templates/repo/issues.tmpl
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" .}}
Write
Preview
Loading…
Cancel
Save