[ARVADOS-WORKBENCH2] updated: 2.1.0-233-g21cb7a9d

Git user git at public.arvados.org
Tue Mar 9 17:59:10 UTC 2021


Summary of changes:
 src/views-components/token-dialog/token-dialog.tsx | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

       via  21cb7a9d671099a17bcdaab1687310d0b9941650 (commit)
      from  afdb6a890b2db8e9ab03a584e714e30a6747fd18 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 21cb7a9d671099a17bcdaab1687310d0b9941650
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Tue Mar 9 14:58:38 2021 -0300

    16848: Moves the "get new token" button up.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/src/views-components/token-dialog/token-dialog.tsx b/src/views-components/token-dialog/token-dialog.tsx
index 77e4f168..1421f67b 100644
--- a/src/views-components/token-dialog/token-dialog.tsx
+++ b/src/views-components/token-dialog/token-dialog.tsx
@@ -151,6 +151,15 @@ unset ARVADOS_API_HOST_INSECURE`
                     }
                     </Typography>
                 </Typography>
+                { this.props.canCreateNewTokens && <Button
+                    onClick={() => this.onGetNewToken()}
+                    color="primary"
+                    size="small"
+                    variant="contained"
+                    className={classes.actionButton}
+                >
+                    GET NEW TOKEN
+                </Button> }
                 <Typography paragraph={true}>
                     Paste the following lines at a shell prompt to set up the necessary environment for Arvados SDKs to authenticate to your account.
                 </Typography>
@@ -165,15 +174,6 @@ unset ARVADOS_API_HOST_INSECURE`
                         COPY TO CLIPBOARD
                     </Button>
                 </CopyToClipboard>
-                { this.props.canCreateNewTokens && <Button
-                    onClick={() => this.onGetNewToken()}
-                    color="primary"
-                    size="small"
-                    variant="contained"
-                    className={classes.actionButton}
-                >
-                    GET NEW TOKEN
-                </Button> }
                 <Typography >
                     Arvados
                             <a href='http://doc.arvados.org/user/reference/api-tokens.html' target='blank' className={classes.link}>virtual machines</a>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list