diff options
author | Alexander Weidinger <irgendwie@users.noreply.github.com> | 2016-09-03 16:43:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-03 16:43:38 +0200 |
commit | bb6325a055f1d01887b14869da3b74ee20c758c6 (patch) | |
tree | 9b581bd674be7302bf21fd04e0cecd1464fee1fa | |
parent | 022a0e80f6165825c06f93ff2e4bd85741a00faa (diff) | |
parent | 8d05ceb9c9e7d8e5a69232df0b3e803ee34f4a85 (diff) |
Merge pull request #511 from owncloud/bigger-add-button
Bigger add symbol and button translation fix #510
-rw-r--r-- | css/public/style.css | 2 | ||||
-rw-r--r-- | js/components/contactList/contactList_controller.js | 1 | ||||
-rw-r--r-- | js/components/newContactButton/newContactButton_controller.js | 2 | ||||
-rw-r--r-- | templates/newContactButton.html | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/css/public/style.css b/css/public/style.css index 2534b02b..5b547132 100644 --- a/css/public/style.css +++ b/css/public/style.css @@ -343,6 +343,8 @@ li.addressBook-share-item span.shareeIdentifier { margin: 14px auto; /* to have the same height than a contact*/ width: calc(100% - 20px) !important; text-align: left; + padding-left: 34px; + background-position: 10px center; } diff --git a/js/components/contactList/contactList_controller.js b/js/components/contactList/contactList_controller.js index 72c5d2de..8d144081 100644 --- a/js/components/contactList/contactList_controller.js +++ b/js/components/contactList/contactList_controller.js @@ -10,7 +10,6 @@ angular.module('contactsApp') ctrl.invalid = false; ctrl.t = { - addContact : t('contacts', '+ New contact'), emptySearch : t('contacts', 'No search result for {query}', {query: ctrl.searchTerm}) }; diff --git a/js/components/newContactButton/newContactButton_controller.js b/js/components/newContactButton/newContactButton_controller.js index 263059c0..9566974c 100644 --- a/js/components/newContactButton/newContactButton_controller.js +++ b/js/components/newContactButton/newContactButton_controller.js @@ -3,7 +3,7 @@ angular.module('contactsApp') var ctrl = this; ctrl.t = { - addContact : t('contacts', '+ New contact') + addContact : t('contacts', 'New contact') }; ctrl.createContact = function() { diff --git a/templates/newContactButton.html b/templates/newContactButton.html index 3db7e527..26e52f45 100644 --- a/templates/newContactButton.html +++ b/templates/newContactButton.html @@ -1,2 +1,2 @@ -<button ng-show="!ctrl.loading && !ctrl.invalid" class="app-content-list-button" id="new-contact-button" +<button ng-show="!ctrl.loading && !ctrl.invalid" class="icon-add app-content-list-button" id="new-contact-button" type="button" name="button" ng-click="ctrl.createContact()">{{ctrl.t.addContact}}</button> |