{{template "ng/base/head" .}} {{template "ng/base/header" .}} {{template "user/dashboard/nav" .}}
{{range .Feeds}}

{{.GetActUserName}} {{if eq .GetOpType 1}} {{$.i18n.Tr "action.create_repo" .GetRepoLink .GetRepoLink | Str2html}} {{else if eq .GetOpType 5}} {{$.i18n.Tr "action.commit_repo" .GetRepoLink .GetBranch .GetBranch .GetRepoLink .GetRepoLink | Str2html}} {{else if eq .GetOpType 6}} {{ $index := index .GetIssueInfos 0}} {{$.i18n.Tr "action.create_issue" .GetRepoLink $index .GetRepoLink $index | Str2html}} {{else if eq .GetOpType 10}} {{ $index := index .GetIssueInfos 0}} {{$.i18n.Tr "action.comment_issue" .GetRepoLink $index .GetRepoLink $index | Str2html}} {{end}}

{{if eq .GetOpType 5}}
    {{ $push := ActionContent2Commits .}} {{ $repoLink := .GetRepoLink}} {{range $push.Commits}}
  • {{ShortSha .Sha1}} {{.Message}}
  • {{end}}
{{else if eq .GetOpType 6}}

{{index .GetIssueInfos 1}}

{{else if eq .GetOpType 10}}

{{index .GetIssueInfos 1}}

{{end}}

{{TimeSince .GetCreate $.i18n.Lang}}

{{end}}

{{.i18n.Tr "home.my_repos"}} {{.ContextUser.NumRepos}}

 
{{if not .ContextUser.IsOrganization}}

{{.i18n.Tr "home.collaborative_repos"}} {{.CollaborateCount}}

{{end}}
{{if not .ContextUser.IsOrganization}}

{{.i18n.Tr "home.my_orgs"}} {{.ContextUser.GetOrganizationCount}}

{{end}}

{{.i18n.Tr "home.my_mirrors"}} {{.MirrorCount}}

{{template "ng/base/footer" .}}