Add nothing message

This commit is contained in:
kolaente 2021-02-21 14:55:14 +01:00
parent dd68f88539
commit ffae8cce37
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 16 additions and 0 deletions

View File

@ -28,6 +28,12 @@
</span>
</span>
</div>
<p class="nothing" v-if="notifications.length === 0">
You don't have any notifications. Have a nice day!<br/>
<span class="explainer">
Notifications will appear here when actions on namespaces, lists or tasks you subscribed to happen.
</span>
</p>
</div>
</transition>
</div>

View File

@ -77,5 +77,15 @@
margin-bottom: 1rem;
}
}
.nothing {
text-align: center;
padding-bottom: 1rem;
color: $grey-500;
.explainer {
font-size: .75rem;
}
}
}
}