summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorskjnldsv <fremulon@protonmail.com>2016-04-10 10:23:56 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-10 21:20:22 +0200
commitdcf95a5362eefb6f00409f3cd90a197f6a7d18f5 (patch)
treecfb9ae342760f9f7c0e286cae934d68e75a26ac8 /templates
parent8ae33decfe7e0709bab8902b7605fe5ab1a0cd42 (diff)
New contact string if no fullName
Diffstat (limited to 'templates')
-rw-r--r--templates/contact.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contact.html b/templates/contact.html
index cf7c9ced..11d1e7c1 100644
--- a/templates/contact.html
+++ b/templates/contact.html
@@ -2,6 +2,6 @@
<img class="app-content-list-item-icon contact__icon" ng-show="ctrl.contact.photo()!==undefined" data-ng-src="data:image/png;base64,{{ctrl.contact.photo()}}" />
<div class="app-content-list-item-icon contact__icon" ng-show="ctrl.contact.photo()===undefined" ng-style="{'background-color': (ctrl.contact.uid() | contactColor) }">{{ ctrl.contact.fullName() | firstCharacter }}</div>
<div class="app-content-list-item-star icon-star" data-starred="false"></div>
- <div class="app-content-list-item-line-one" ng-class="{'no-line-two':!ctrl.contact.email()}">{{ctrl.contact.fullName()}}</div>
+ <div class="app-content-list-item-line-one" ng-class="{'no-line-two':!ctrl.contact.email()}">{{ ctrl.contact.fullName() | newContact }}</div>
<div class="app-content-list-item-line-two">{{ctrl.contact.email()}}</div>
</a>