tweak relation actions
This commit is contained in:
parent
0854ef636f
commit
2a56af720c
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue