Skip to content

Commit ca216ee

Browse files
committed
Display message when there are no removed logs
In restore/delete modal
1 parent 0768c5a commit ca216ee

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

app/css/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ body {
4646
color: rgba(96, 96, 96, 0.87);
4747
}
4848

49+
.empty.rem-logs.message {
50+
text-align: center;
51+
color: rgba(96, 96, 96, 0.87);
52+
}
53+
4954
.last-updated {
5055
float: right;
5156
color: rgba(0, 0, 0, 0.7);

app/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ <h2 class="ui header">
123123
</tr>
124124
</thead>
125125
<tbody>
126+
<tr class="empty rem-logs message" ng-show="remLogs.length == 0">
127+
<td>Nothing to display.</td>
128+
</tr>
126129
<tr ng-repeat="log in remLogs | orderBy:'-timestamp' track by log.key">
127130
<td>{{ $index + 1 }}</td>
128131
<td colspan="3">{{ log.title }}</td>

0 commit comments

Comments
 (0)