Skip to content
Snippets Groups Projects
Unverified Commit 9cf7d07d authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix message body layout and add signatures

parent 79be9134
No related branches found
No related tags found
No related merge requests found
......@@ -17,14 +17,9 @@
<div id="mail-content">
<MessageHTMLBody v-if="hasHtmlBody"/>
<MessagePlainTextBody v-else
:body="body"/>
:body="body"
:signature="signature"/>
</div>
<!-- {{#if signature}}
<div class="mail-signature">
{{{signature}}}
</div>
{{/if}} -->
<div class="mail-message-attachments"></div>
<div id="reply-composer"></div>
<input type="button" id="forward-button" value="Forward">
......@@ -66,7 +61,8 @@
],
subject: 'Do you enjoy the Vue?',
hasHtmlBody: false,
body: 'Henlo!'
body: 'Henlo!',
signature: 'Backbone Marionette',
};
}
}
......
<template>
<div>
<div id="mail-content">
<div id="show-images-text">
<!--{{ t 'The images have been blocked to protect your privacy.' }}-->
<button id="show-images-button">
......
<template>
<div>
{{ body }}
<div id="mail-content">
{{ body }}
</div>
<div v-if="signature"
class="mail-signature">
{{signature}}
</div>
</div>
</template>
......@@ -9,6 +15,7 @@
name: "MessagePlainTextBody",
props: [
'body',
'signature',
]
};
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment