Commit 8b653c669d57e2c366f652c001d22d0a19850881
1 parent
d3af38a5
Exists in
master
and in
38 other branches
Add new friendship activity
Showing
2 changed files
with
28 additions
and
0 deletions
Show diff stats
src/app/components/noosfero-activities/activities.scss
src/app/components/noosfero-activities/activity/new_friendship.html
0 → 100644
@@ -0,0 +1,16 @@ | @@ -0,0 +1,16 @@ | ||
1 | +<div class="timeline-badge info"><i class="fa fa-user-plus"></i></div> | ||
2 | +<div class="timeline-panel"> | ||
3 | + <div class="timeline-heading"> | ||
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 made <span ng-bind="vm.activity.params.friend_name.length"></span> new friend(s): </span> | ||
7 | + <span class="comma-separated"> | ||
8 | + <a class="separated-item" ui-sref="main.profile.info({profile: vm.activity.params.friend_url[$index].profile})" ng-repeat="friend in vm.activity.params.friend_name"> | ||
9 | + <strong ng-bind="friend"></strong> | ||
10 | + </a> | ||
11 | + </span> | ||
12 | + </h4> | ||
13 | + <p><small class="text-muted"><i class="fa fa-clock-o"></i> <span am-time-ago="vm.activity.created_at"></span></small></p> | ||
14 | + </div> | ||
15 | + <div class="timeline-body"></div> | ||
16 | +</div> |