Fix code style and small cleanup

CURA-5676
This commit is contained in:
Lipu Fei 2018-08-31 13:49:08 +02:00
parent c4afbe7a67
commit 98d8a3f3e3

View file

@ -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")