Commit 93368ef6ec7f27f53009b25508e0e7497a6ee899
1 parent
fb449f58
Exists in
master
and in
38 other branches
Add link to profile image
Showing
2 changed files
with
9 additions
and
2 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 | - <img ng-show="{{vm.owner.image}}" src="{{vm.owner.image.url}}" class="img-responsive"> | |
4 | - <i ng-show="{{!vm.owner.image}}" class="fa fa-users fa-5x"></i> | |
3 | + <a ng-href="/{{vm.owner.identifier}}"> | |
4 | + <img ng-show="{{vm.owner.image}}" src="{{vm.owner.image.url}}" class="img-responsive"> | |
5 | + <i ng-show="{{!vm.owner.image}}" class="fa fa-users fa-5x"></i> | |
6 | + </a> | |
5 | 7 | </div> |
6 | 8 | <div class='admin-link'> |
7 | 9 | <a target="_self" ng-href="/myprofile/{{vm.owner.identifier}}">Control panel</a> | ... | ... |
src/app/components/noosfero-blocks/profile-image/profile-image.scss
0 → 100644