Skip to content

Commit

Permalink
Merge pull request sakaiproject#476 from adrianfish/SAK-29321
Browse files Browse the repository at this point in the history
[SAK-29321] Fixed paths for currentUserId
  • Loading branch information
adrianfish committed May 6, 2015
2 parents ea01fc2 + 8979c4a commit 5393d92
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions roster2/src/handlebars/members.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,26 @@
{{/if}}
{{/if}}
{{#if ../viewConnections}}
{{#if (isMe ../currentUserId)}}
{{#if (isMe ../../currentUserId)}}
<span class="icon connection-self">{{translate 'profile_connection_self'}}</span>
{{else}}
{{#if (unconnected)}}
<span id="{{profileDiv}}" class="icon connection-add">
<a href="javascript:;" onclick="return requestFriend('{{../currentUserId}}','{{userId}}')">{{translate 'profile_connection_add'}}</a>
<a href="javascript:;" onclick="return requestFriend('{{../../../../currentUserId}}','{{userId}}')">{{translate 'profile_connection_add'}}</a>
</span>
{{/if}}
{{#if (confirmed)}}
<span id="{{profileDiv}}" class="icon connection-confirmed">
<a href="javascript:;" onclick="return removeFriend('{{../currentUserId}}','{{userId}}')">{{translate 'profile_connection_remove'}}</a>
<a href="javascript:;" onclick="return removeFriend('{{../../../../currentUserId}}','{{userId}}')">{{translate 'profile_connection_remove'}}</a>
</span>
{{/if}}
{{#if (requested)}}
<span class="icon connection-request">{{translate 'profile_connection_requested'}}</span>
{{/if}}
{{#if (incoming)}}
<span id="{{profileDiv}}">
<a href="javascript:;" onclick="return confirmFriendRequest('{{../currentUserId}}','{{userId}}')"><img src="/library/image/silk/accept.png"></a>
<a href="javascript:;" onclick="return ignoreFriendRequest('{{../currentUserId}}','{{userId}}')"><img src="/library/image/silk/cancel.png"></a>
<a href="javascript:;" onclick="return confirmFriendRequest('{{../../../../currentUserId}}','{{userId}}')"><img src="/library/image/silk/accept.png"></a>
<a href="javascript:;" onclick="return ignoreFriendRequest('{{../../../../currentUserId}}','{{userId}}')"><img src="/library/image/silk/cancel.png"></a>
<span class="rosterActionAlignment">{{translate 'profile_connection_accept'}}</span>
</span>
{{/if}}
Expand Down

0 comments on commit 5393d92

Please sign in to comment.