diff options
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.6.5.0824 Beta" +const APP_VER = "0.6.5.0825 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/templates/.VERSION b/templates/.VERSION index 5b133cfb..90fe3b15 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.6.5.0824 Beta
\ No newline at end of file +0.6.5.0825 Beta
\ No newline at end of file diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index d2e66b30..3ef3da3c 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -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> |