Slightly improved e-mail notifications
This commit is contained in:
		
							parent
							
								
									2d4f9ecebf
								
							
						
					
					
						commit
						31a0202546
					
				
					 4 changed files with 6 additions and 5 deletions
				
			
		
							
								
								
									
										3
									
								
								app/views/notification_mailer/_status.text.erb
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								app/views/notification_mailer/_status.text.erb
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
<%= strip_tags(@status.content) %>
 | 
			
		||||
 | 
			
		||||
<%= TagManager.instance.url_for(@status) %>
 | 
			
		||||
| 
						 | 
				
			
			@ -2,4 +2,4 @@
 | 
			
		|||
 | 
			
		||||
Your status was favourited by <%= @account.acct %>:
 | 
			
		||||
 | 
			
		||||
<%= account_stream_entry_url(@me, @status.stream_entry) %>
 | 
			
		||||
<%= render partial: 'status' %>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,6 +2,4 @@
 | 
			
		|||
 | 
			
		||||
You were mentioned by <%= @status.account.acct %> in:
 | 
			
		||||
 | 
			
		||||
<%= strip_tags(@status.content) %>
 | 
			
		||||
 | 
			
		||||
<%= TagManager.instance.url_for(@status) %>
 | 
			
		||||
<%= render partial: 'status' %>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,4 +2,4 @@
 | 
			
		|||
 | 
			
		||||
Your status was reblogged by <%= @account.acct %>:
 | 
			
		||||
 | 
			
		||||
<%= account_stream_entry_url(@me, @status.stream_entry) %>
 | 
			
		||||
<%= render partial: 'status' %>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue