No notification message

This commit is contained in:
Josef Citrine 2016-06-02 00:00:43 +01:00
parent ae36132a2d
commit 87d0c5fca2
2 changed files with 14 additions and 3 deletions

View file

@ -1,4 +1,7 @@
<div ng-repeat="notification in notifications" class="notification">
<a href="{{ ::notification.url }}" class="img-link"><img pfm-src-loader="::notification.thumbnail_url" pfm-src-size="thumbnail"></a>
<a href="{{ ::notification.url }}" class="message"><p>{{ ::notification.text }}</p></a>
<div class="notif-list">
<div ng-repeat="notification in notifications" class="notification">
<a href="{{ ::notification.url }}" class="img-link"><img pfm-src-loader="::notification.thumbnail_url" pfm-src-size="thumbnail"></a>
<a href="{{ ::notification.url }}" class="message"><p>{{ ::notification.text }}</p></a>
</div>
<p ng-show="notifications.length < 1" class="error">No notifications :(</p>
</div>

View file

@ -589,4 +589,12 @@ html {
max-height: 100%;
overflow: auto;
}
}
.notif-list {
.error {
text-align: center;
font-size: 16pt;
color: #222;
}
}