From 73b7560519c6955663db0609af9e92170a60fa47 Mon Sep 17 00:00:00 2001 From: Jakub Trllo Date: Wed, 14 Nov 2018 12:23:20 +0100 Subject: [PATCH] Changed HTML view after login --- pype/ftrack/login_dialog.py | 2 +- pype/ftrack/login_tools.py | 36 ++++++++++++++++++++++-------------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/pype/ftrack/login_dialog.py b/pype/ftrack/login_dialog.py index c39602cd23..622cfc21b5 100644 --- a/pype/ftrack/login_dialog.py +++ b/pype/ftrack/login_dialog.py @@ -188,7 +188,7 @@ class Login_Dialog_ui(QtWidgets.QWidget): else: self._invalid_input(self.user_input) self._invalid_input(self.api_input) - self.setError("We're unable to connect to Ftrack with these credentials") + self.setError("We're unable to sign in to Ftrack with these credentials") def open_ftrack(self): url = self.ftsite_input.text() diff --git a/pype/ftrack/login_tools.py b/pype/ftrack/login_tools.py index 3c0f430c9e..719e6bac37 100644 --- a/pype/ftrack/login_tools.py +++ b/pype/ftrack/login_tools.py @@ -28,31 +28,39 @@ class LoginServerHandler(BaseHTTPRequestHandler): message = """ - -

Sign in to ftrack connect was successful

-

- You signed in with username {0} and can now - close this window. -

- + +

Sign in to Ftrack was successful

+

+ You signed in with username {0}. +

+

+ You can close this window now. +

+ """.format(api_user) else: