Commit a34b5e6bbe7e2c8f5ea6ef4e1a2ac87eb1e1fd27
1 parent
69e46197
Exists in
master
and in
38 other branches
Display profile's link in activities
Showing
2 changed files
with
9 additions
and
2 deletions
Show diff stats
src/app/components/noosfero-activities/activity/add_member_in_community.html
1 | 1 | <div class="timeline-badge info"><i class="fa fa-user-plus"></i></div> |
2 | 2 | <div class="timeline-panel"> |
3 | 3 | <div class="timeline-heading"> |
4 | - <h4 class="timeline-title"><strong ng-bind="vm.activity.user.name"></strong> has joined the community</h4> | |
4 | + <h4 class="timeline-title"> | |
5 | + <a ui-sref="main.profile.info({profile: vm.activity.user.identifier})"><strong ng-bind="vm.activity.user.name"></strong></a> | |
6 | + <span> has joined the community</span> | |
7 | + </h4> | |
5 | 8 | <p><small class="text-muted"><i class="fa fa-clock-o"></i> <span am-time-ago="vm.activity.created_at"></span></small></p> |
6 | 9 | </div> |
7 | 10 | <div class="timeline-body"></div> | ... | ... |
src/app/components/noosfero-activities/activity/create_article.html
... | ... | @@ -2,7 +2,11 @@ |
2 | 2 | <div class="timeline-panel"> |
3 | 3 | <div class="timeline-heading"> |
4 | 4 | <h4 class="timeline-title"> |
5 | - <strong ng-bind="vm.activity.user.name"></strong> has published on community <strong ng-bind="vm.activity.target.article.profile.name"></strong> | |
5 | + <a ui-sref="main.profile({profile: vm.activity.user.identifier})"><strong ng-bind="vm.activity.user.name"></strong></a> | |
6 | + <span> has published on </span> | |
7 | + <a ui-sref="main.profile({profile: vm.activity.target.article.profile.identifier})"> | |
8 | + <strong ng-bind="vm.activity.target.article.profile.name"></strong></span> | |
9 | + </a> | |
6 | 10 | </h4> |
7 | 11 | <p><small class="text-muted"><i class="fa fa-clock-o"></i> <span am-time-ago="vm.activity.created_at"></span></small></p> |
8 | 12 | </div> | ... | ... |