Skip to content
Snippets Groups Projects
Message.vue 1.62 KiB
Newer Older
  • Learn to ignore specific revisions
  • <template>
    	<div class="app-content-detail">
    		<div id="mail-message-header" class="section">
    			<h2 :title="subject">{{subject}}</h2>
    			<p class="transparency">
    
    				<AddressList :entries="from"/>
    				to <!-- TODO: translate -->
    				<AddressList :entries="to"/>
    
    				<!--{{printAddressList from}}
    				{{ t 'to' }}
    				{{printAddressList to}}
    				{{#if cc.length}}
    				({{ t 'cc' }} {{printAddressList cc}})
    				{{/if}}-->
    			</p>
    		</div>
    		<div class="mail-message-body">
    			<div id="mail-content">
    				<!--{{#if hasHtmlBody}}
    				<div id="show-images-text">
    					{{ t 'The images have been blocked to protect your privacy.'
    					}}
    					<button id="show-images-button">{{ t 'Show images from this
    						sender' }}
    					</button>
    				</div>
    				<div class="icon-loading">
    					<iframe src="{{htmlBodyUrl}}" seamless>
    					</iframe>
    				</div>
    				{{else}}
    				{{{body}}}
    				{{/if}}-->
    			</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">
    		</div>
    	</div>
    </template>
    
    <script>
    
    	import AddressList from "./AddressList";
    
    
    	export default {
    		name: "Message",
    
    		components: {AddressList},
    		data () {
    
    				from: [
    					{
    						label: 'Backbone Marionette',
    						email: 'backbone.marionette@frameworks.js',
    					}
    				],
    				to: [
    					{
    						label: 'React',
    						email: 'react@frameworks.js',
    					},
    					{
    						label: 'Angular',
    						email: 'angular@frameworks.js',
    					}
    				],
    
    				subject: 'Do you enjoy the Vue?'
    			};
    		}
    	}
    </script>