mirror of
				https://github.com/Crazyco-xyz/48hr.email.git
				synced 2025-11-04 15:26:33 +01:00 
			
		
		
		
	Attachment boilerplate
This commit is contained in:
		
							parent
							
								
									270d4d9fc2
								
							
						
					
					
						commit
						86ed9427db
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -35,6 +35,20 @@
 | 
			
		|||
    {% else %}
 | 
			
		||||
        <div class="mail_body"></div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% if mail.attachments %}
 | 
			
		||||
    <div class="mail_body">
 | 
			
		||||
        {% for attachment in mail.attachments %}
 | 
			
		||||
            <a href="">📎 {{ attachment.filename }}</a>
 | 
			
		||||
            {#
 | 
			
		||||
                Add actual button to download each file, inline. 
 | 
			
		||||
                Or even better. just an a href with filename.
 | 
			
		||||
                very basic, like regular links look. maybe a paperclip icon
 | 
			
		||||
            #}
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
	</div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <h3 style="text-align: center;display: block;">{{ mail.from.text }} | {{ mail.date| date }}</h3>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue