summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-15 11:50:52 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-15 11:50:52 +0200
commit246dc972c470a62eaaa9ffababbbe39e1bbd9f25 (patch)
tree34fa97f9cd9c7f0a0efa905a73c26995671a98e5 /templates
parent5a8b7860e3186127ed3509e837e9a0db23c21a42 (diff)
In case there is not fullName we use the company name - fixes #335
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 11d1e7c1..d97d6963 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() | newContact }}</div>
+ <div class="app-content-list-item-line-one" ng-class="{'no-line-two':!ctrl.contact.email()}">{{ ctrl.contact.displayName() | newContact }}</div>
<div class="app-content-list-item-line-two">{{ctrl.contact.email()}}</div>
</a>