summaryrefslogtreecommitdiffstats
path: root/templates/part.content.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 554382fd1..ff288631d 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -136,9 +136,13 @@
</form>
<div style="margin-left: 2em; font-size: 0.85em;"
- ng-if="!(Share.userList.length > 0) && nameQuery && !App.loading.isLoading('user')">
+ ng-if="Share.userList.length === 0 && nameQuery && !App.loading.isLoading('user') && !Share.searchUsersFailed">
<?php p($l->t('No users found')) ?>
</div>
+ <div style="margin-left: 2em; font-size: 0.85em;"
+ ng-if="Share.userList.length === 0 && Share.searchUsersFailed">
+ <?php p($l->t('Error while searching for users')) ?>
+ </div>
<a
ng-repeat="user in Share.userList"
class="icon-category-installed pr-3"