Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit d7e518c

Browse files
committed
Merge pull request #272 from appirio-tech/tom-new-default-photo
new default profile photo
2 parents 63f1ccc + 34b1c2e commit d7e518c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/directives/profile-widget/profile-widget.jade

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.profile-widget-directive
22
a(ui-sref="profile.about({userHandle: profile.handle})")
3-
img.profile-circle(fallback-src="/images/avatarPlaceholder.png", ng-src="{{profile.photoURL}}")
3+
img.profile-circle(ng-if="profile.photoURL", ng-src="{{profile.photoURL}}")
4+
img.profile-circle(ng-if="!profile.photoURL", src="/images/ico-user-default.svg")
45

56
.info
67
h1.handle {{profile.handle}}

0 commit comments

Comments
 (0)