summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-29 06:55:51 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-29 06:55:51 -0400
commitbeb1761d7c9c2bd85a9f67895836c77ec4bbb6bc (patch)
tree38a6f52de8f1810f602901463c63cbfcc145cfc0 /templates/user
parentbf2e76fc7ef187ce3b3e1ed9172cedf55d8fd5cb (diff)
downloadgitea-beb1761d7c9c2bd85a9f67895836c77ec4bbb6bc.tar.gz
gitea-beb1761d7c9c2bd85a9f67895836c77ec4bbb6bc.zip
Mirror fix
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/dashboard.tmpl2
-rw-r--r--templates/user/profile.tmpl3
2 files changed, 2 insertions, 3 deletions
diff --git a/templates/user/dashboard.tmpl b/templates/user/dashboard.tmpl
index bc0853fb0d..6064095b11 100644
--- a/templates/user/dashboard.tmpl
+++ b/templates/user/dashboard.tmpl
@@ -18,7 +18,7 @@
{{range .Feeds}}
<li>
<i class="icon fa fa-{{ActionIcon .OpType}}"></i>
- <div class="info"><span class="meta">{{TimeSince .Created}}</span><br>{{ActionDesc . | str2html}}</div>
+ <div class="info"><span class="meta">{{TimeSince .Created}}</span><br>{{ActionDesc . $.SignedUser.AvatarLink | str2html}}</div>
<span class="clearfix"></span>
</li>
{{else}}
diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl
index 3733736dde..5ac8121f8b 100644
--- a/templates/user/profile.tmpl
+++ b/templates/user/profile.tmpl
@@ -32,11 +32,10 @@
{{if eq .TabName "activity"}}
<div class="tab-pane active">
<ul class="list-unstyled activity-list">
- {{$avatarLink := .Owner.AvatarLink}}
{{range .Feeds}}
<li>
<i class="icon fa fa-{{ActionIcon .OpType}}"></i>
- <div class="info"><span class="meta">{{TimeSince .Created}}</span><br>{{ActionDesc . $avatarLink | str2html}}</div>
+ <div class="info"><span class="meta">{{TimeSince .Created}}</span><br>{{ActionDesc . $.Owner.AvatarLink | str2html}}</div>
<span class="clearfix"></span>
</li>
{{else}}