Fixing timeline avatar if it doesn't exist

stable
Alejandro Alonso 2015-05-14 08:13:48 +02:00 committed by Juanfran
parent 9352a7f0fc
commit dcc3e79f20
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ div.activity-item
div.activity-info
div.profile-contact-picture
a(tg-nav="user-profile:username=vm.activity.user.username", title="{{::vm.activity.user.name }}")
img(ng-src="{{::vm.activity.user.photo}}", alt="{{::vm.activity.user.name}}")
img(ng-src="{{::vm.activity.user.photo || '/images/unnamed.png'}}", alt="{{::vm.activity.user.name}}")
p(tg-compile-html="vm.activity.title")