Show contact photos in mail view and preview

pull/13/head
Thomas Bruederli 14 years ago
parent 384948886c
commit 7938312aaa

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

@ -811,7 +811,7 @@ div.hide-headers {
}
#all-headers {
position: relative;
position: relative;
margin: 0 10px;
padding: 0;
height: 180px;
@ -837,7 +837,7 @@ div.hide-headers {
position: relative;
height: auto;
margin: 0 8px 0 0;
padding: 0 0 6px 26px;
padding: 0 0 6px 72px;
border-bottom: 2px solid #f0f0f0;
}
@ -845,12 +845,47 @@ div.hide-headers {
padding: 8px 8px 2px 0;
}
#messagepreviewheader #contactphoto {
display: block;
position: absolute;
top: 11px;
left: 30px;
width: 32px;
height: 32px;
overflow: hidden;
background: url(images/contactpic_32px.png) center center no-repeat #fff;
border-radius: 3px;
}
#messagepreviewheader #contactphoto img {
width: 32px;
height: auto;
border-radius: 3px;
}
#messageheader #contactphoto {
display: block;
position: absolute;
top: 40px;
right: 10px;
width: 48px;
height: 48px;
overflow: hidden;
border-radius: 4px;
}
#messageheader #contactphoto img {
width: 48px;
height: auto;
border-radius: 4px;
}
#messagepreviewheader #countcontrols,
#messageheader #countcontrols {
position: absolute;
top: 8px;
right: 8px;
width: 18em;
width: 20em;
text-align: right;
white-space: nowrap;
}

@ -46,6 +46,7 @@
<roundcube:button command="nextmessage" type="link" class="button nextpage disabled" classAct="button nextpage" classSel="button nextpage pressed" innerClass="inner" title="nextmessage" content="&amp;gt;" />
</div>
<div id="contactphoto"><roundcube:object name="contactphoto" /></div>
</div>
<div id="messagecontent" class="uibox">

@ -10,6 +10,7 @@
<h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3>
<a href="#details" id="previewheaderstoggle"><span class="iconlink"></span></a>
<div id="contactphoto"><roundcube:object name="contactphoto" /></div>
<table class="headers-table" id="preview-shortheaders"><tbody><tr>
<roundcube:if condition="env:mailbox == config:drafts_mbox || env:mailbox == config:sent_mbox">

Loading…
Cancel
Save