Commit a34b5e6bbe7e2c8f5ea6ef4e1a2ac87eb1e1fd27

Authored by Victor Costa
1 parent 69e46197

Display profile's link in activities

src/app/components/noosfero-activities/activity/add_member_in_community.html
1 <div class="timeline-badge info"><i class="fa fa-user-plus"></i></div> 1 <div class="timeline-badge info"><i class="fa fa-user-plus"></i></div>
2 <div class="timeline-panel"> 2 <div class="timeline-panel">
3 <div class="timeline-heading"> 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 <p><small class="text-muted"><i class="fa fa-clock-o"></i> <span am-time-ago="vm.activity.created_at"></span></small></p> 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 </div> 9 </div>
7 <div class="timeline-body"></div> 10 <div class="timeline-body"></div>
src/app/components/noosfero-activities/activity/create_article.html
@@ -2,7 +2,11 @@ @@ -2,7 +2,11 @@
2 <div class="timeline-panel"> 2 <div class="timeline-panel">
3 <div class="timeline-heading"> 3 <div class="timeline-heading">
4 <h4 class="timeline-title"> 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 </h4> 10 </h4>
7 <p><small class="text-muted"><i class="fa fa-clock-o"></i> <span am-time-ago="vm.activity.created_at"></span></small></p> 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 </div> 12 </div>