summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/feeds.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/dashboard/feeds.tmpl')
-rw-r--r--templates/user/dashboard/feeds.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl
index 849ad7fb2f..ffc0db3317 100644
--- a/templates/user/dashboard/feeds.tmpl
+++ b/templates/user/dashboard/feeds.tmpl
@@ -7,7 +7,11 @@
<div class="ui fourteen wide column">
<div class="{{if or (eq .GetOpType 5) (eq .GetOpType 18)}}push news{{end}}">
<p>
- <a href="{{AppSubUrl}}/{{.GetActUserName}}" title="{{.GetActFullName}}">{{.ShortActUserName}}</a>
+ {{if gt .ActUser.ID 0}}
+ <a href="{{AppSubUrl}}/{{.GetActUserName}}" title="{{.GetActFullName}}">{{.ShortActUserName}}</a>
+ {{else}}
+ {{.ShortActUserName}}
+ {{end}}
{{if eq .GetOpType 1}}
{{$.i18n.Tr "action.create_repo" .GetRepoLink .ShortRepoPath | Str2html}}
{{else if eq .GetOpType 2}}