mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-06 12:05:28 +00:00
Monotone-Parent: f3c4d5f9e17b1f8f35c5fd70ef9c801ba53ee0dd
Monotone-Revision: 169f16fcd44bc6026e44d39f9cf7dc45ecba79e0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T22:19:28 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2006-11-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Templates/MailerUI/UIxMailListView.wox: all the events are
|
||||
declared from the javascript DOM onload handlers.
|
||||
|
||||
* UI/MailerUI/UIxMailListView.m: removed all the JS methods since
|
||||
we want everything to be separated from each other, as much as
|
||||
possible.
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
>
|
||||
<var:component className="UIxMailFilterPanel" qualifier="qualifier" />
|
||||
|
||||
<table multiselect="yes" id="messageList"
|
||||
onselectionchange="onMessageSelectionChange();">
|
||||
<table multiselect="yes" id="messageList">
|
||||
<tbody>
|
||||
<tr class="tableview"
|
||||
><td class="tbtv_headercell messageFlagColumn"
|
||||
@@ -84,29 +83,21 @@
|
||||
></var:if>
|
||||
<var:foreach list="messages" item="message"
|
||||
><tr class="tableview" var:id="msgRowID"
|
||||
onclick="return onRowClick(event);"
|
||||
oncontextmenu="return onMessageContextMenu(event, this);"
|
||||
><td onmousedown="return false;"
|
||||
></td
|
||||
><td onmousedown="return false;"
|
||||
><var:if condition="hasMessageAttachment"
|
||||
><td></td
|
||||
><td><var:if condition="hasMessageAttachment"
|
||||
><img rsrc:src="title_attachment_14x14.png"
|
||||
/></var:if
|
||||
></td
|
||||
|
||||
><td
|
||||
onmousedown="return false;"
|
||||
var:class="messageSubjectCellStyleClass"
|
||||
var:ondblclick="clickedMsgJS"
|
||||
var:id="msgDivID"
|
||||
><var:string value="message.envelope.subject"
|
||||
formatter="context.mailSubjectFormatter"
|
||||
/></td
|
||||
|
||||
><td
|
||||
onmousedown="return false;"
|
||||
var:class="messageCellStyleClass"
|
||||
var:ondblclick="clickedMsgJS"
|
||||
><var:if condition="showToAddress" const:negate="YES"
|
||||
><var:string value="message.envelope.from"
|
||||
formatter="context.mailEnvelopeAddressFormatter"
|
||||
@@ -117,12 +108,10 @@
|
||||
/></var:if
|
||||
></td
|
||||
|
||||
><td onmousedown="return false;"
|
||||
var:class="messageCellStyleClass"
|
||||
><td var:class="messageCellStyleClass"
|
||||
><var:if condition="isMessageRead"
|
||||
><img rsrc:src="icon_read.gif"
|
||||
class="mailerReadIcon"
|
||||
var:onclick="markUnreadJS"
|
||||
label:title="Mark Unread"
|
||||
label:title-markread="Mark Read"
|
||||
label:title-markunread="Mark Unread"
|
||||
@@ -131,7 +120,6 @@
|
||||
><var:if condition="isMessageRead" const:negate="YES"
|
||||
><img rsrc:src="icon_unread.gif"
|
||||
class="mailerUnreadIcon"
|
||||
var:onclick="markReadJS"
|
||||
label:title="Mark Read"
|
||||
label:title-markread="Mark Read"
|
||||
label:title-markunread="Mark Unread"
|
||||
@@ -139,9 +127,7 @@
|
||||
/></var:if
|
||||
></td
|
||||
|
||||
><td onmousedown="return false;"
|
||||
var:class="messageCellStyleClass"
|
||||
var:ondblclick="clickedMsgJS"
|
||||
><td var:class="messageCellStyleClass"
|
||||
><span class="mailer_datefield"
|
||||
><var:string value="message.envelope.date"
|
||||
formatter="context.mailDateFormatter"
|
||||
@@ -152,9 +138,6 @@
|
||||
</var:foreach>
|
||||
</tbody>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
registerDraggableMessageNodes();
|
||||
</script>
|
||||
<!--
|
||||
<tr class="tableview">
|
||||
<td colspan="6" class="tbtv_actcell">
|
||||
|
||||
Reference in New Issue
Block a user