summaryrefslogtreecommitdiff
path: root/contents/ui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'contents/ui/main.qml')
-rw-r--r--contents/ui/main.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/contents/ui/main.qml b/contents/ui/main.qml
index b49996d..006e81b 100644
--- a/contents/ui/main.qml
+++ b/contents/ui/main.qml
@@ -231,6 +231,14 @@ Item {
spacing: PlasmaCore.Units.smallSpacing
delegate: ActivityView {}
model: announcementsModel
+
+ PlasmaExtras.PlaceholderMessage {
+ anchors.centerIn: parent
+ width: parent.width - (PlasmaCore.Units.largeSpacing * 4)
+ visible: announcementsModel.count == 0
+ iconName: "mail-read-symbolic"
+ text: "No announcements"
+ }
}
}
@@ -269,6 +277,14 @@ Item {
spacing: PlasmaCore.Units.gridUnit
delegate: ActivityView {}
model: assignmentsModel
+
+ PlasmaExtras.PlaceholderMessage {
+ anchors.centerIn: parent
+ width: parent.width - (PlasmaCore.Units.largeSpacing * 4)
+ visible: assignmentsModel.count == 0
+ iconName: "mail-read-symbolic"
+ text: "No assignments"
+ }
}
}