Monotone-Parent: ee0810b737d9d978b856ca04e9102d7985d6bf82

Monotone-Revision: 4da10cc5d7b04371c2d5f407c3a25e5ae2bce8df

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-03-24T15:27:53
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-03-24 15:27:53 +00:00
parent 73e41f02dd
commit d17c2ed024
5 changed files with 27 additions and 14 deletions

View File

@@ -1,3 +1,9 @@
2011-03-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Contacts/UIxContactsListView.m (-currentContactClasses): new
method that returns the classes associated to the current contact.
For now, only the c_component.
2011-03-24 Francis Lachapelle <flachapelle@inverse.ca>
* UI/MailerUI/UIxMailListActions.m (-imap4SortOrdering): verify

View File

@@ -121,6 +121,11 @@
return contactInfos;
}
- (NSString *) currentContactClasses
{
return [[currentContact objectForKey: @"c_component"] lowercaseString];
}
- (id <WOActionResults>) contactSearchAction
{
id <WOActionResults> result;

View File

@@ -26,7 +26,7 @@
</thead>
<tbody id="contactsListTbody">
<var:foreach list="contactInfos" item="currentContact">
<tr class="tableview"
<tr var:class="currentContactClasses"
var:categories="currentContact.c_categories"
var:id="currentContact.c_name"
var:contactname="currentContact.c_cn">

View File

@@ -199,12 +199,6 @@ TABLE#contactsList
-khtml-user-select: none;
width: 100%; }
TABLE#contactsList TBODY TD.displayName
{ background-repeat: no-repeat;
background-image: url('abcard.png');
background-position: 4px 1px;
padding-left: 24px; }
TABLE#contactsList TD,
TABLE#contactsList TH
{ overflow: hidden;
@@ -215,18 +209,26 @@ TABLE#contactsList TH
TABLE#contactsList TH
{ white-space: pre; }
TABLE#contactsList TD IMG
{
vertical-align: middle;
margin-left: 1em;
margin-right: .2em;
}
TABLE#contactsList TR._deleted TD
{
text-decoration: line-through;
}
TABLE#contactsList TD.displayName
{ background-repeat: no-repeat;
background-position: 4px 1px;
padding-left: 24px; }
TABLE#contactsList TR.vcard TD.displayName
{
background-image: url('abcard.png');
}
TABLE#contactsList TR.vlist TD.displayName
{
background-image: url('ablist.png');
}
DIV#contactView
{
position: absolute;

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B