feat: display message when repository list is empty

This commit is contained in:
tdurieux
2021-09-06 13:01:05 +02:00
parent b3a7278819
commit 6b6fbe9263
3 changed files with 10 additions and 4 deletions

View File

@@ -260,9 +260,9 @@
</li>
<li
class="col-12 d-flex px-0 py-3 border-bottom color-border-secondary"
ng-if="conference.repositories.length == 0"
ng-if="conference.filteredRepositories.length == 0"
>
There is no repository for this conference.
There is no repository to display.
</li>
</ul>
</div>

View File

@@ -217,8 +217,8 @@
</div>
</li>
<li class="col-12 d-flex px-0 py-3 border-bottom color-border-secondary" ng-if="conferences.length == 0">
You have no conference. You a create a
<a href="/conference/new">new one</a>.
You have no conference. You a create a
<a href="/conference/new"> new one</a>.
</li>
</ul>
</div>

View File

@@ -321,6 +321,12 @@
</div>
</div>
</li>
<li
class="col-12 d-flex px-0 py-3 border-bottom color-border-secondary"
ng-if="filteredRepositories.length == 0"
>
There is no repository to display.
</li>
</ul>
</div>
</div>