{% extends 'layout.html' %}
{% block title %}Dashboard{% endblock %}
{% block content %}
	{#TODO signed in splash can go here #}
	{% if announcement_medium %}
		{% include 'announcement.html' %}
		<a href="{{ url_for('persephone.announcements') }}">View announcements</a>
	{% endif %}
	<h1>Dashboard</h1>
	<nav class="dashboard">
		{% if g.accounts.current_user.has_permission(group_names='admin') %}
			<a href="{{ url_for('persephone.admin') }}">Admin</a>
		{% endif %}
		{% if g.accounts.current_user.has_perm