Bug 1069965: add a visual separator between available and blocked contacts. r=paolo

This commit is contained in:
Mike de Boer 2014-09-19 17:02:03 +02:00
parent 085706c93f
commit efd449bfb5
4 changed files with 10 additions and 1 deletions

View File

@ -175,6 +175,9 @@ loop.contacts = (function(_, mozL10n) {
shownContacts.available ?
shownContacts.available.sort(this.sortContacts).map(viewForItem) :
null,
shownContacts.blocked ?
React.DOM.h3({className: "header"}, mozL10n.get("contacts_blocked_contacts")) :
null,
shownContacts.blocked ?
shownContacts.blocked.sort(this.sortContacts).map(viewForItem) :
null

View File

@ -175,6 +175,9 @@ loop.contacts = (function(_, mozL10n) {
{shownContacts.available ?
shownContacts.available.sort(this.sortContacts).map(viewForItem) :
null}
{shownContacts.blocked ?
<h3 className="header">{mozL10n.get("contacts_blocked_contacts")}</h3> :
null}
{shownContacts.blocked ?
shownContacts.blocked.sort(this.sortContacts).map(viewForItem) :
null}

View File

@ -400,7 +400,7 @@ p {
padding: 5px 10px;
color: #888;
margin: 0;
border-bottom: 1px solid #CCC;
border-top: 1px solid #CCC;
background: #EEE;
display: flex;
align-items: center;

View File

@ -85,6 +85,9 @@ new_contact_button=New Contact
## and click the 'New Contact' button to see the fields.
new_contact_name_placeholder=Name
new_contact_email_placeholder=Email
contacts_blocked_contacts=Blocked Contacts
## LOCALIZATION NOTE (add_contact_button):
## This is the button to actually add the new contact
## See https://people.mozilla.org/~dhenein/labs/loop-mvp-spec/#contacts