Logged out text on Accounts overview

This commit is contained in:
Simon Redfern 2015-07-25 13:23:22 +01:00
parent 839d1a73e1
commit a70351d224

View File

@ -127,7 +127,7 @@ class AccountsOverview extends Loggable {
}
def loggedOutSnippet = {
".accountList" #> SHtml.span(Text("You don't have access to any authorised account"), Noop,("id","accountsMsg"))
".accountList" #> SHtml.span(Text("You are logged out. No authorised accounts available."), Noop,("id","accountsMsg"))
}
if(OAuthClient.loggedIn) loggedInSnippet
@ -161,7 +161,7 @@ class AccountsOverview extends Loggable {
}
}
def loggedOutSnippet = {
".accountList" #> SHtml.span(Text("You don't have access to any authorised account"), Noop,("id","accountsMsg"))
".accountList" #> SHtml.span(Text("You are logged out. No authorised accounts available."), Noop,("id","accountsMsg"))
}
if(OAuthClient.loggedIn) loggedInSnippet