File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
js/components/addressBook Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -246,10 +246,8 @@ ul.addressBook-share-list li {
246246 margin-left : 15px ;
247247}
248248
249- ul .addressBookList li .action .icon-public ,
250- ul .addressBookList li .action .icon-share ,
251- ul .addressBookList li .action .icon-delete {
252- padding : 10px 18px ;
249+ ul .addressBookList li .action > span {
250+ padding : 10px 14px ;
253251}
254252
255253div .addressBookShares ul .dropdown-menu {
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ angular.module('contactsApp')
33 var ctrl = this ;
44
55 ctrl . showUrl = false ;
6+ /* globals oc_config */
7+ /* eslint camelcase: [2, {properties: "never"}] */
8+ ctrl . canExport = parseFloat ( oc_config . version . substring ( 0 , 3 ) ) >= 9.1 ;
69
710 ctrl . toggleShowUrl = function ( ) {
811 ctrl . showUrl = ! ctrl . showUrl ;
Original file line number Diff line number Diff line change 11< span class ="addressBookName "> {{ctrl.addressBook.displayName}}</ span >
22< span class ="utils ">
3+ < span class ="action " ng-show ="ctrl.canExport ">
4+ < span href ="{{ctrl.addressBook.url}}?export "
5+ id ="addressBooklist-icon download "
6+ title ="Download "
7+ class ="icon-download ">
8+ </ span >
9+ </ span >
310 < span class ="action ">
411 < span
512 class ="addressbooklist-icon icon-public "
You can’t perform that action at this time.
0 commit comments