mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix code style and small cleanup
CURA-5676
This commit is contained in:
parent
c4afbe7a67
commit
98d8a3f3e3
1 changed files with 4 additions and 10 deletions
|
@ -114,12 +114,9 @@ Item
|
|||
{
|
||||
if (details.website)
|
||||
{
|
||||
return "<a href=\""+details.website+"\">"+details.website+"</a>"
|
||||
}
|
||||
else
|
||||
{
|
||||
return ""
|
||||
return "<a href=\"" + details.website + "\">" + details.website + "</a>"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
font: UM.Theme.getFont("very_small")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
@ -133,12 +130,9 @@ Item
|
|||
{
|
||||
if (details.email)
|
||||
{
|
||||
return "<a href=\"mailto:"+details.email+"\">"+details.email+"</a>"
|
||||
}
|
||||
else
|
||||
{
|
||||
return ""
|
||||
return "<a href=\"mailto:" + details.email + "\">" + details.email + "</a>"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
font: UM.Theme.getFont("very_small")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue