@(account: model.Account, personalTokens: List[model.AccessToken], gneratedToken:Option[(model.AccessToken, String)])(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("Applications"){
@menu("application", settings.ssh)
Personal access tokens
@if(personalTokens.isEmpty && gneratedToken.isEmpty){ No tokens. }else{ Tokens you have generated that can be used to access the GitBucket API.
} @gneratedToken.map{ case (token, tokenString) =>
Make sure to copy your new personal access token now. You won't be able to see it again!
@helper.html.copy("generated-token-copy", tokenString){ } Delete
} @personalTokens.zipWithIndex.map { case (token, i) => @if(i != 0){
} @token.note Delete }
Generate new token

What's this token for?

}