summaryrefslogtreecommitdiffstats
path: root/templates/contactDetails.html
diff options
context:
space:
mode:
authorskjnldsv <fremulon@protonmail.com>2016-04-01 05:38:19 +0200
committerskjnldsv <fremulon@protonmail.com>2016-04-01 05:38:19 +0200
commit0fe357fa5773cadf4cc34f748370e7344bd51a51 (patch)
tree633d95ca1e8ea880b7166d2cec4253071a30ef11 /templates/contactDetails.html
parentbabdcb4f6669c9e173641d4731b385fa89b64faa (diff)
Fix #167
Diffstat (limited to 'templates/contactDetails.html')
-rw-r--r--templates/contactDetails.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contactDetails.html b/templates/contactDetails.html
index 0445ff79..30867e00 100644
--- a/templates/contactDetails.html
+++ b/templates/contactDetails.html
@@ -20,7 +20,7 @@
<button ng-click="ctrl.deleteContact()" class="icon-delete-white" title="Delete"></button>
</header>
<section>
- <div ng-repeat="prop in ctrl.contact.props | toArray | orderDetailItems:'$key'">
+ <div ng-repeat="prop in ctrl.contact.props | toArray | orderDetailItems:'$key'" ng-class="prop.length > 1 ? '' : 'last-details'">
<detailsItem ng-repeat="propData in prop" name="prop.$key" data="propData" model="ctrl" index="$index" ng-class="[ 'details-item-' + prop.$key ]"></detailsItem>
</div>
<div class="select-addressbook" ng-if="ctrl.addressBooks.length > 1">