This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
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
#1246
Dashboard error: nil commits
tags/v1.2.0-rc1
Unknwon
10 years ago
parent
e9edd5cb60
commit
d324a43a70
3 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
gogs.go
+1
-1
templates/.VERSION
+2
-0
templates/user/dashboard/feeds.tmpl
+ 1
- 1
gogs.go
View File
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.6.5.082
4
Beta"
const APP_VER = "0.6.5.082
5
Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
+ 1
- 1
templates/.VERSION
View File
@@ -1 +1 @@
0.6.5.082
4
Beta
0.6.5.082
5
Beta
+ 2
- 0
templates/user/dashboard/feeds.tmpl
View File
@@ -27,9 +27,11 @@
<ul class="list-no-style">
{{ $push := ActionContent2Commits .}}
{{ $repoLink := .GetRepoLink}}
{{if $push.Commits}}
{{range $push.Commits}}
<li><img class="avatar-16" src="{{AvatarLink .AuthorEmail}}?s=16"> <a href="{{$repoLink}}/commit/{{.Sha1}}">{{ShortSha .Sha1}}</a> <span class="text-truncate grid-4-5">{{.Message}}</span></li>
{{end}}
{{end}}
{{if $push.CompareUrl}}<li><a href="{{AppSubUrl}}/{{$push.CompareUrl}}">{{$.i18n.Tr "action.compare_2_commits"}} »</a></li>{{end}}
</ul>
</div>
Write
Preview
Loading…
Cancel
Save