Merge pull request #593 from nextcloud/250-emptycontent-views

#250-emptycontent-views
This commit is contained in:
Julius Härtl
2018-08-23 13:47:14 +02:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ $color-darkgrey: nc-darken($color-main-background, 32%);
/**
* General styles
*/
button,
.button,
.app-deck .icon {

View File

@@ -13,7 +13,15 @@
</div>
</div>
</div>
<div id="boardlist">
<div id="emptycontent" ng-if="boardservice.sorted.length == 0 && status.filter == 'archived'">
<div class="icon-archive"></div>
<h2><?php p($l->t('No archived boards to display')); ?></h2>
</div>
<div id="emptycontent" ng-if="boardservice.sorted.length == 0 && status.filter == 'shared'">
<div class="icon-share"></div>
<h2> <?php p($l->t('No shared boards to display')); ?> </h2>
</div>
<div id="boardlist" ng-if="boardservice.sorted.length > 0 || !status.filter">
<table width="100%">
<thead>
<tr>