| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | {% extends "layout.html" %} | 
					
						
							|  |  |  | {% import 'utils.html' as utils %} | 
					
						
							| 
									
										
										
										
											2018-05-21 19:03:21 +00:00
										 |  |  | {% block title %}Stream - {{ config.NAME }}{% endblock %} | 
					
						
							| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | {% block content %} | 
					
						
							|  |  |  | <div class="h-feed" id="container"> | 
					
						
							|  |  |  | {% include "header.html" %} | 
					
						
							|  |  |  | <div id="admin"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <div id="notes"> | 
					
						
							|  |  |  | 	{% for item in inbox_data %} | 
					
						
							| 
									
										
										
										
											2018-06-29 20:16:26 +00:00
										 |  |  | 	{% if item | has_type('Create') %} | 
					
						
							| 
									
										
										
										
											2018-07-07 10:10:25 +00:00
										 |  |  | 	{{ utils.display_note(item.activity.object, ui=True, meta=item.meta) }} | 
					
						
							| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | 	{% else %} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-29 20:16:26 +00:00
										 |  |  | 	{% if item | has_type('Announce') %} | 
					
						
							| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | 	{% set boost_actor = item.activity.actor | get_actor %} | 
					
						
							| 
									
										
										
										
											2018-07-15 19:12:57 +00:00
										 |  |  | 	<p style="margin-left:70px;padding-bottom:5px;"><span class="bar-item-no-hover"><a style="color:#808080;" href="{{ boost_actor.url | get_url }}">{{ boost_actor.name or boost_actor.preferredUsername }}</a> boosted</span></p> | 
					
						
							| 
									
										
										
										
											2018-06-29 20:16:26 +00:00
										 |  |  | 	{% if item.meta.object %} | 
					
						
							|  |  |  | 	{{ utils.display_note(item.meta.object, ui=True) }} | 
					
						
							| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | 	{% endif %} | 
					
						
							|  |  |  | 	{% endif %} | 
					
						
							|  |  |  | 	 | 
					
						
							| 
									
										
										
										
											2018-06-29 20:16:26 +00:00
										 |  |  | 	{% if item | has_type('Follow') %} | 
					
						
							| 
									
										
										
										
											2018-07-01 19:32:12 +00:00
										 |  |  |     <p style="margin-left:70px;padding-bottom:5px;"><span class="bar-item-no-hover">new follower</span> <!-- <a href="" class="bar-item">follow back</a></p> --> | 
					
						
							| 
									
										
										
										
											2018-06-29 20:16:26 +00:00
										 |  |  |     <div style="height: 100px;"> | 
					
						
							|  |  |  | 	{{ utils.display_actor_inline(item.activity.actor | get_actor, size=50) }} | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	{% elif item | has_type('Accept') %} | 
					
						
							| 
									
										
										
										
											2018-07-01 19:32:12 +00:00
										 |  |  |     <p style="margin-left:70px;padding-bottom:5px;"><span class="bar-item-no-hover">you started following</span></p> | 
					
						
							|  |  |  |     <div style="height: 100px;"> | 
					
						
							|  |  |  | 	{{ utils.display_actor_inline(item.activity.actor | get_actor, size=50) }} | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	{% elif item | has_type('Undo') %} | 
					
						
							|  |  |  |     <p style="margin-left:70px;padding-bottom:5px;"><span class="bar-item-no-hover">unfollowed you</span></p> | 
					
						
							| 
									
										
										
										
											2018-06-29 20:16:26 +00:00
										 |  |  |     <div style="height: 100px;"> | 
					
						
							|  |  |  | 	{{ utils.display_actor_inline(item.activity.actor | get_actor, size=50) }} | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | 	{% else %} | 
					
						
							| 
									
										
										
										
											2018-06-29 20:16:26 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | 	{% endif %} | 
					
						
							|  |  |  | 	 | 
					
						
							|  |  |  | 	 | 
					
						
							|  |  |  | 	{% endif %} | 
					
						
							|  |  |  | 	{% endfor %} | 
					
						
							| 
									
										
										
										
											2018-07-06 21:53:33 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     {{ utils.display_pagination(older_than, newer_than) }} | 
					
						
							| 
									
										
										
										
											2018-05-18 18:41:41 +00:00
										 |  |  | </div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | {% endblock %} |