Mail: More changes to print view

- Remove app icon
- Move sender lavatar so to/cc are farther left
This commit is contained in:
nathan 2022-12-12 14:09:17 -07:00
parent 5acc8c55c8
commit 7b28ec9aed

View File

@ -3,7 +3,6 @@
<!-- $Id$ -->
<overlay>
<template id="mail.display" template="" lang="" group="0" version="1.9.001">
<appicon class="onlyPrint"/>
<html id="msg"/>
<vbox class="mailDisplay">
<toolbar id="displayToolbar" width="100%" view_range="6" flat_list="true" list_header="short"
@ -20,40 +19,13 @@
disabled="!@smime=smime_encrypt" align="right" width="24"/>
</hbox>
</hbox>
<vbox width="100%" class="mailPreviewHeaders onlyPrint">
<hbox width="100%" class="mailPreviewHeaders">
<lavatar src="@avatar" lname="@from[0]" shape="rounded"/>
<vbox class="previewWrapper">
<hbox>
<et2-details class="details noPrint" title="details" toggleOnHover="true" hoist="true"
toggleAlign="left">
<et2-select-email slot="summary" value="@from" readonly="true" multiple="true"/>
<hbox disabled="!@from">
<description value="From" class="firstColumnTitle"/>
<et2-select-email id="from" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@sender">
<description value="Sender" class="firstColumnTitle"/>
<et2-select-email id="sender" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@to">
<description value="To" class="firstColumnTitle"/>
<et2-select-email id="to" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@cc">
<description value="Cc" class="firstColumnTitle"/>
<et2-select-email id="cc" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@bcc">
<description value="Bcc" class="firstColumnTitle"/>
<et2-select-email id="bcc" readonly="true" multiple="true"></et2-select-email>
</hbox>
</et2-details>
<date-time-today align="right" id="mail_displaydate" class="noPrint" readonly="true"/>
<date-time align="right" id="mail_displaydate" class="onlyPrint" readonly="true"
<date-time align="right" id="mail_displaydate" readonly="true"
style="max-width: fit-content;"/>
<vbox class="onlyPrint">
<vbox>
<hbox>
<lavatar src="@avatar" lname="@from[0]" shape="rounded"/>
<grid id="from">
<columns>
<column/>
@ -91,8 +63,7 @@
<et2-select-email id="bcc" readonly="true" multiple="true" fullEmail="true"/>
</hbox>
</vbox>
</hbox>
<grid id="mail_displayattachments" class="attachments onlyPrint">
<grid id="mail_displayattachments" class="attachments ">
<columns>
<column/>
<column width="70%"/>
@ -108,8 +79,39 @@
</row>
</rows>
</grid>
</vbox>
<hbox width="100%" class="mailPreviewHeaders noPrint">
<lavatar src="@avatar" lname="@from[0]" shape="rounded"/>
<vbox class="previewWrapper">
<hbox>
<et2-details class="details" title="details" toggleOnHover="true" hoist="true"
toggleAlign="left">
<et2-select-email slot="summary" value="@from" readonly="true" multiple="true"/>
<hbox disabled="!@from">
<description value="From" class="firstColumnTitle"/>
<et2-select-email id="from" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@sender">
<description value="Sender" class="firstColumnTitle"/>
<et2-select-email id="sender" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@to">
<description value="To" class="firstColumnTitle"/>
<et2-select-email id="to" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@cc">
<description value="Cc" class="firstColumnTitle"/>
<et2-select-email id="cc" readonly="true" multiple="true"></et2-select-email>
</hbox>
<hbox disabled="!@bcc">
<description value="Bcc" class="firstColumnTitle"/>
<et2-select-email id="bcc" readonly="true" multiple="true"></et2-select-email>
</hbox>
</et2-details>
<date-time-today align="right" id="mail_displaydate" readonly="true"/>
</hbox>
<et2-details toggleAlign="left" title="@attachmentsBlockTitle" toggleOnHover="true"
class="attachments noPrint" hoist="true" disabled="!@mail_displayattachments">
class="attachments" hoist="true" disabled="!@mail_displayattachments">
<hbox slot="summary">
<grid class="previewAttachmentArea egwGridView_grid">
<columns>