@(localUser: models.User = null) @import com.feth.play.module.pa.views.html._ @main("User profile","profile") {

User profile

Your name is @localUser.name and your email address is @localUser.email! @if(!localUser.emailValidated) { (unverified - click to verify) } else { (verified) }
@defining(localUser.getProviders()) { providers => @if(providers.size() > 0) { There are @providers.size() providers linked with your account: @for(p <- providers) { @_providerIcon(p) }
} }
@currentAuth() { auth => You are currently logged in with: @_providerIcon(auth.getProvider())
Your user ID is @auth.getId() and your session will expire @if(auth.expires() == -1) { never } else { on @Application.formatTimestamp(auth.expires()) }
}

}