summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-02-16 17:40:45 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commita3eed6507dff1cc0fa0ba804361a2428ac576580 (patch)
treed43490ed80d24cde88e217192b8974616b0f494b /templates
parent660173c4282b816b9e3e52e11db90aff4eeb31ad (diff)
(+) adding UI when no contact has been found & icon user on contact
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index f0e8683bb..98adba029 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -123,10 +123,12 @@
<div style="margin-bottom: 1em" ng-class="{'icon-loading-small': App.loading.isLoading('user') }">
</div>
- <div class="row">
-
+ <div style="margin-left: 1em"
+ ng-if="!(Share.userList.length > 0) && nameQuery && !App.loading.isLoading('user')">
+ <?php p($l->t('No contact found.')) ?>
+ </div>
<a
- class="icon-contacts-dark pr-3"
+ class="icon-category-installed pr-3"
ng-repeat="user in Share.userList"
ng-click="Share.shareItem(item.id, user.value.shareWith)">
{{ user.value.shareWith }}