Commit 077ce3781264a6fd46fed3845b5c6f61c28311e7
1 parent
87c0e182
Exists in
master
and in
33 other branches
Go to main.profile.home when click in a profile link
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/app/components/noosfero-articles/article/article.html
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | </span> | 10 | </span> |
11 | <span class="author" ng-if="ctrl.article.author"> | 11 | <span class="author" ng-if="ctrl.article.author"> |
12 | <i class="fa fa-user"></i> | 12 | <i class="fa fa-user"></i> |
13 | - <a ui-sref="main.profile({profile: ctrl.article.author.identifier})"> | 13 | + <a ui-sref="main.profile.home({profile: ctrl.article.author.identifier})"> |
14 | <span class="author-name" ng-bind="ctrl.article.author.name"></span> | 14 | <span class="author-name" ng-bind="ctrl.article.author.name"></span> |
15 | </a> | 15 | </a> |
16 | </span> | 16 | </span> |
src/app/components/noosfero-blocks/members-block/members-block.html
1 | <div class="members-block"> | 1 | <div class="members-block"> |
2 | - <a ng-repeat="member in ctrl.members" ui-sref="main.profile({profile: member.identifier})" class="member"> | 2 | + <a ng-repeat="member in ctrl.members" ui-sref="main.profile.home({profile: member.identifier})" class="member"> |
3 | <noosfero-profile-image [profile]="member"></noosfero-profile-image> | 3 | <noosfero-profile-image [profile]="member"></noosfero-profile-image> |
4 | </a> | 4 | </a> |
5 | </div> | 5 | </div> |