update
This commit is contained in:
		@@ -17,10 +17,12 @@
 | 
			
		||||
                <p>{{ post.short_content }}</p>
 | 
			
		||||
                <h6><a href="/posts/{{ post.id }}">View Post</a>
 | 
			
		||||
                    {% if post.replies|length > 0 %}
 | 
			
		||||
                     | ({{ post.replies|length }} replies)
 | 
			
		||||
                     ({{ post.replies|length }} replies)
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                    {% if session.name == "SYSTEM" %}
 | 
			
		||||
                     | <a href="/delete/post/{{ post.id }}">Delete</a>
 | 
			
		||||
                    {% elif session.name == post.user.name %}
 | 
			
		||||
                     | <a href="/delete/post/{{ post.id }}">Delete</a>
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                </h6>
 | 
			
		||||
            </li>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user