tweak relation actions

This commit is contained in:
Thibault Duplessis 2013-06-05 15:33:55 +02:00
parent 0854ef636f
commit 2a56af720c

View file

@ -3,12 +3,12 @@
@ctx.userId.map { myId =>
@if(myId != userId) {
@if(!blocks(userId, myId)) {
<a title="@trans.composeMessage()" href="@routes.Message.form()?username=@userId" class="icon button" href="#">
<span class="s16 message"></span>
</a>
<a title="@trans.challengeToPlay()" href="@routes.Lobby.home()?username=@userIdToUsername(userId)#friend" class="icon button" href="#">
<span class="s16 challenge"></span>
</a>
<a title="@trans.composeMessage()" href="@routes.Message.form()?username=@userId" class="icon button" href="#">
<span class="s16 message"></span>
</a>
}
@relationWith(userId) match {
case None => {