Commit 05e4f7577eac5f980f4323657dc2df9099fa2206
1 parent
a476a35f
Exists in
master
and in
38 other branches
Fix profile image
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/app/components/noosfero-blocks/profile-image/profile-image.html
| 1 | 1 | <div class="center-block text-center"> |
| 2 | 2 | <div class="profile-image"> |
| 3 | - <i class="fa fa-users fa-5x"></i> | |
| 3 | + <img ng-show="{{vm.owner.image}}" src="{{vm.owner.image.url}}"> | |
| 4 | + <i ng-show="{{!vm.owner.image}}" class="fa fa-users fa-5x"></i> | |
| 4 | 5 | </div> |
| 5 | 6 | <div class='admin-link'> |
| 6 | 7 | <a target="_self" ng-href="/myprofile/{{vm.owner.identifier}}">Control panel</a> | ... | ... |