blob: 887e4855e9e354e41aaf75c44fc5a399a154638e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
@(accountData: Option[models.Views.Account] = None)
@accountData match {
case Some(account) => {
<a class="pure-button" href="@routes.Authentication.logout()">
<i class="fa fa-sign-out fa-lg"></i>
Logout
</a>
<a class="pure-button" href="#">
<i class="fa fa-money fa-lg"></i>
@account.equity €
</a>
<a class="pure-button" href="#">
<i class="fa fa-user fa-lg"></i>
@account.username
</a>
}
case None => {
<a class="pure-button" href="@routes.Profile.signup()">
<i class="fa fa-pencil-square-o fa-lg"></i>
Sign up
</a>
<a class="pure-button" href="@routes.Authentication.login()">
<i class="fa fa-sign-in fa-lg"></i>
Log in
</a>
}
}
|