diff options
author | 2021-03-20 19:06:28 +0100 | |
---|---|---|
committer | 2021-03-20 19:06:28 +0100 | |
commit | d0e6625d6e2a1aac1f68ea0808abb3b1b711a8e5 (patch) | |
tree | 91cc4a803ded52657ec2e648e7f2c547bb067d20 /web | |
parent | add apps handler (diff) | |
download | gotosocial-d0e6625d6e2a1aac1f68ea0808abb3b1b711a8e5.tar.xz |
tidying up
Diffstat (limited to 'web')
-rw-r--r-- | web/template/authorize.tmpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/template/authorize.tmpl b/web/template/authorize.tmpl index 0043e21ba..2b3b3ab07 100644 --- a/web/template/authorize.tmpl +++ b/web/template/authorize.tmpl @@ -11,6 +11,7 @@ <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> +{{if len .code | eq 0 }} <body> <div class="container"> <div class="jumbotron"> @@ -30,4 +31,14 @@ </div> </div> </body> +{{else}} + <body> + <div class="container"> + <div class="jumbotron"> + {{.code}} + </div> + </div> + </body> +{{end}} + </html> |