diff --git a/css/contacts.css b/css/contacts.css index 98563f93..b02b706a 100644 --- a/css/contacts.css +++ b/css/contacts.css @@ -475,6 +475,19 @@ input[type="checkbox"].propertytype { width: 10px; } #dialog-merge-contacts .mergelist { margin: 10px; } +#dialog-merge-contacts .mergelist > li { + text-indent: 30px; + height: 30px; + -webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms; + position:relative; + background-position: 0 .2em !important; background-repeat:no-repeat !important; +} +#dialog-merge-contacts .mergelist > li > input:radio { + /*margin-left: 25px;*/ +} +#dialog-merge-contacts .mergelist > li > label { + font-weight: normal; +} .no-svg .favorite { display: inline-block; float: left; height: 20px; width: 20px; background-image:url('%appswebroot%/contacts/img/inactive_star.png'); } .no-svg .favorite.active, .favorite:hover { background-image:url('%appswebroot%/contacts/img/active_star.png'); } .no-svg .favorite.inactive { background-image:url('%appswebroot%/contacts/img/inactive_star.png'); } diff --git a/js/app.js b/js/app.js index a40ce41e..05b563e8 100644 --- a/js/app.js +++ b/js/app.js @@ -1387,12 +1387,20 @@ OC.Contacts = OC.Contacts || { this.$mergeContactsTmpl = $('#mergeContactsTemplate'); } var $dlg = this.$mergeContactsTmpl.octemplate(); - var $contactList = $dlg.find('.mergelist'); + var $liTmpl = $dlg.find('li').detach(); + var $mergeList = $dlg.find('.mergelist'); $.each(contacts, function(idx, contact) { - var checked = idx === 0 ? 'checked ' : ''; - var $li = $('
t('Which contact should the data be merged into?')); ?>