mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Remove email label from the account widget.
It's not needed and it's not currently public data that is published with the user token. Contributes to CURA-5784.
This commit is contained in:
parent
11693aad36
commit
a4c609d514
2 changed files with 5 additions and 25 deletions
|
@ -1,4 +1,6 @@
|
||||||
# Copyright (c) 2018 Ultimaker B.V.
|
# Copyright (c) 2018 Ultimaker B.V.
|
||||||
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,36 +27,14 @@ Column
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: message
|
id: information
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
visible: !loggedIn
|
visible: !loggedIn
|
||||||
text: catalog.i18nc("@label", "Please login or create an account to
enjoy all features of Ultimaker Cura")
|
text: loggedIn ? profile["username"] : catalog.i18nc("@label", "Please login or create an account to
enjoy all features of Ultimaker Cura")
|
||||||
|
font: loggedIn ? UM.Theme.getFont("large") : UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
}
|
}
|
||||||
|
|
||||||
Column
|
|
||||||
{
|
|
||||||
id: userInformation
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: loggedIn
|
|
||||||
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
text: loggedIn ? profile["username"] : ""
|
|
||||||
font: UM.Theme.getFont("large")
|
|
||||||
color: UM.Theme.getColor("text")
|
|
||||||
}
|
|
||||||
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
text: "email.address@hardcoded.is"
|
|
||||||
font: UM.Theme.getFont("default")
|
|
||||||
color: UM.Theme.getColor("text")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Loader
|
Loader
|
||||||
{
|
{
|
||||||
id: accountEntryPoints
|
id: accountEntryPoints
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue