Browse Source

fix app suburl in feeds

pull/1456/head
Unknwon 9 years ago
parent
commit
aede5cdb04
  1. 2
      gogs.go
  2. 2
      templates/.VERSION
  3. 2
      templates/user/dashboard/feeds.tmpl

2
gogs.go

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.6.4.0808 Beta"
const APP_VER = "0.6.4.0809 Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

2
templates/.VERSION

@ -1 +1 @@
0.6.4.0808 Beta
0.6.4.0809 Beta

2
templates/user/dashboard/feeds.tmpl

@ -30,7 +30,7 @@
{{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}}
{{if $push.CompareUrl}}<li><a href="{{$.AppSubUrl}}/{{$push.CompareUrl}}">{{$.i18n.Tr "action.compare_2_commits"}} »</a></li>{{end}}
{{if $push.CompareUrl}}<li><a href="{{AppSubUrl}}/{{$push.CompareUrl}}">{{$.i18n.Tr "action.compare_2_commits"}} »</a></li>{{end}}
</ul>
</div>
{{else if eq .GetOpType 6}}

Loading…
Cancel
Save