Add downloadnumber to model and plugin view

This commit is contained in:
Mark 2018-06-26 15:29:35 +02:00
parent 8c3d4f1011
commit 5fe812b4a4
2 changed files with 16 additions and 1 deletions

View file

@ -92,6 +92,12 @@ Item
font: UM.Theme.getFont("very_small")
color: UM.Theme.getColor("text_medium")
}
Label
{
text: catalog.i18nc("@label", "Downloads") + ":"
font: UM.Theme.getFont("very_small")
color: UM.Theme.getColor("text_medium")
}
}
Column
{
@ -138,6 +144,12 @@ Item
linkColor: UM.Theme.getColor("text_link")
onLinkActivated: Qt.openUrlExternally(link)
}
Label
{
text: details.download_count || catalog.i18nc("@label", "Unknown")
font: UM.Theme.getFont("very_small")
color: UM.Theme.getColor("text")
}
}
Rectangle
{