mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Apply same styling for attachments in mail display
This commit is contained in:
parent
584bdcb5c2
commit
365c165eca
@ -97,60 +97,63 @@
|
|||||||
<et2-description value="Bcc" class="firstColumnTitle"></et2-description>
|
<et2-description value="Bcc" class="firstColumnTitle"></et2-description>
|
||||||
<et2-select-email id="bcc" rows="1" maxTagsVisible="1" readonly="true" multiple="true"></et2-select-email>
|
<et2-select-email id="bcc" rows="1" maxTagsVisible="1" readonly="true" multiple="true"></et2-select-email>
|
||||||
</et2-hbox>
|
</et2-hbox>
|
||||||
|
<et2-hbox width="100%" disabled="!@mail_displayattachments">
|
||||||
|
<et2-description value="Attachments" class="firstColumnTitle"></et2-description>
|
||||||
|
<et2-details overlaySummaryOnOpen="true" toggleOnHover="true" class="attachments" hoist="true">
|
||||||
|
<et2-hbox slot="summary">
|
||||||
|
<grid class="previewAttachmentArea egwGridView_grid">
|
||||||
|
<columns>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column width="70%"/>
|
||||||
|
<column width="11%"/>
|
||||||
|
<column width="10%"/>
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row class="row attachmentRow">
|
||||||
|
<et2-description id="mail_displayattachments[0][attachment_number]"></et2-description>
|
||||||
|
<et2-description id="mail_displayattachments[0][partID]"></et2-description>
|
||||||
|
<et2-description id="mail_displayattachments[0][type]"></et2-description>
|
||||||
|
<et2-description id="mail_displayattachments[0][winmailFlag]"></et2-description>
|
||||||
|
<et2-description-expose class="et2_link useEllipsis" id="mail_displayattachments[0][filename]" mime="@mail_displayattachments[0][type]" href="@mail_displayattachments[0][mime_url]" noLang="1" mimeData="@mail_displayattachments[0][mime_data]"></et2-description-expose>
|
||||||
|
<et2-description align="right" id="mail_displayattachments[0][size]"></et2-description>
|
||||||
|
<et2-description align="right" value="@attachmentsBlockTitle" class="et2_bold"></et2-description>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</et2-hbox>
|
||||||
|
<grid id="mail_displayattachments" class="previewAttachmentArea egwGridView_grid">
|
||||||
|
<columns>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column disabled="!@showtempname"/>
|
||||||
|
<column width="70%" />
|
||||||
|
<column width="11%" />
|
||||||
|
<column width="10%"/>
|
||||||
|
<column />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row class="row attachmentRow">
|
||||||
|
<et2-description id="${row}[attachment_number]"></et2-description>
|
||||||
|
<et2-description id="${row}[partID]"></et2-description>
|
||||||
|
<et2-description id="${row}[type]"></et2-description>
|
||||||
|
<et2-description id="${row}[winmailFlag]"></et2-description>
|
||||||
|
<et2-description-expose class="et2_link useEllipsis" id="${row}[filename]" mime="$row_cont[type]" href="$row_cont[mime_url]" noLang="1" mimeData="$row_cont[mime_data]"></et2-description-expose>
|
||||||
|
<et2-description align="right" id="${row}[size]"></et2-description>
|
||||||
|
<et2-dropdown-button id="${row}[actions]" label="$row_cont[actionsDefaultLabel]" readonly="false" onchange="app.mail.attachmentsBlockActions" onclick="app.mail.attachmentsBlockActions"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
</et2-details>
|
||||||
|
</et2-hbox>
|
||||||
</et2-vbox>
|
</et2-vbox>
|
||||||
</et2-hbox>
|
</et2-hbox>
|
||||||
</et2-vbox>
|
</et2-vbox>
|
||||||
</et2-hbox>
|
</et2-hbox>
|
||||||
<et2-details toggleAlign="left" overlaySummaryOnOpen="true" toggleOnHover="true" class="attachments" hoist="true" disabled="!@mail_displayattachments">
|
<et2-box class="mailDisplayContainer">
|
||||||
<et2-hbox slot="summary">
|
|
||||||
<grid class="previewAttachmentArea egwGridView_grid">
|
|
||||||
<columns>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column width="70%"/>
|
|
||||||
<column width="11%"/>
|
|
||||||
<column width="10%"/>
|
|
||||||
</columns>
|
|
||||||
<rows>
|
|
||||||
<row class="row attachmentRow">
|
|
||||||
<et2-description id="mail_displayattachments[0][attachment_number]"></et2-description>
|
|
||||||
<et2-description id="mail_displayattachments[0][partID]"></et2-description>
|
|
||||||
<et2-description id="mail_displayattachments[0][type]"></et2-description>
|
|
||||||
<et2-description id="mail_displayattachments[0][winmailFlag]"></et2-description>
|
|
||||||
<et2-description-expose class="et2_link useEllipsis" id="mail_displayattachments[0][filename]" mime="@mail_displayattachments[0][type]" href="@mail_displayattachments[0][mime_url]" noLang="1" mimeData="@mail_displayattachments[0][mime_data]"></et2-description-expose>
|
|
||||||
<et2-description align="right" id="mail_displayattachments[0][size]"></et2-description>
|
|
||||||
<et2-description align="right" value="@attachmentsBlockTitle" class="et2_bold"></et2-description>
|
|
||||||
</row>
|
|
||||||
</rows>
|
|
||||||
</grid>
|
|
||||||
</et2-hbox>
|
|
||||||
<grid id="mail_displayattachments" class="previewAttachmentArea egwGridView_grid">
|
|
||||||
<columns>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column disabled="!@showtempname"/>
|
|
||||||
<column width="70%" />
|
|
||||||
<column width="11%" />
|
|
||||||
<column width="10%"/>
|
|
||||||
<column />
|
|
||||||
</columns>
|
|
||||||
<rows>
|
|
||||||
<row class="row attachmentRow">
|
|
||||||
<et2-description id="${row}[attachment_number]"></et2-description>
|
|
||||||
<et2-description id="${row}[partID]"></et2-description>
|
|
||||||
<et2-description id="${row}[type]"></et2-description>
|
|
||||||
<et2-description id="${row}[winmailFlag]"></et2-description>
|
|
||||||
<et2-description-expose class="et2_link useEllipsis" id="${row}[filename]" mime="$row_cont[type]" href="$row_cont[mime_url]" noLang="1" mimeData="$row_cont[mime_data]"></et2-description-expose>
|
|
||||||
<et2-description align="right" id="${row}[size]"></et2-description>
|
|
||||||
<et2-dropdown-button id="${row}[actions]" label="$row_cont[actionsDefaultLabel]" readonly="false" onchange="app.mail.attachmentsBlockActions" onclick="app.mail.attachmentsBlockActions"/>
|
|
||||||
</row>
|
|
||||||
</rows>
|
|
||||||
</grid>
|
|
||||||
</et2-details>
|
|
||||||
<et2-box class="mailDisplayContainer">
|
|
||||||
<iframe frameborder="1" class="mail_displaybody" id="mailDisplayBodySrc" name="mailDisplayBodySrc" scrolling="auto" width="100%"/>
|
<iframe frameborder="1" class="mail_displaybody" id="mailDisplayBodySrc" name="mailDisplayBodySrc" scrolling="auto" width="100%"/>
|
||||||
</et2-box>
|
</et2-box>
|
||||||
</et2-vbox>
|
</et2-vbox>
|
||||||
|
Loading…
Reference in New Issue
Block a user