From cb902da50bd75b623a47727e62c0c69913422bfd Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 8 Feb 2015 00:17:21 +0100 Subject: Authentication draft --- app/views/fragments/accountInfos.scala.html | 46 ++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 14 deletions(-) (limited to 'app/views/fragments/accountInfos.scala.html') diff --git a/app/views/fragments/accountInfos.scala.html b/app/views/fragments/accountInfos.scala.html index 711fb40..8fb0aab 100644 --- a/app/views/fragments/accountInfos.scala.html +++ b/app/views/fragments/accountInfos.scala.html @@ -1,14 +1,32 @@ - - - Logout - - - - - -400 000 € - - - - - Mr. Kornada - +@(accountData: Option[models.Views.Account] = None) + +@accountData match { + case Some(account) => { + + + Logout + + + + + @account.equity € + + + + + @account.username + + } + + case None => { + + + Sign up + + + + + Log in + + } +} -- cgit v1.2.3