{{define "profile_notifications_content"}}
{{with .User}}
<div style="padding: 0.5rem; background: grey;">
<a href="{{ genRoute "user_notifications" }}?clear" class="btn btn-danger pull-right"><i class="glyphicon glyphicon-trash"></i> Clear Notifications</a>
<div style="clear: both;"></div>
</div>
{{ range (index $.Infos "infos")}}
<div class="alert alert-info"><a class="panel-close close" data-dismiss="alert">×</a><i class="glyphicon glyphicon-info-sign"></i> {{ . }}</div>
{{end}}
<table class="table table-hover table-striped">
{{ range .Notifications }}
<tr><td>
<div style="padding: 0 1rem 1rem;">
<a href="{{ .Url }}?notif"><h3><i class="glyphicon glyphicon-bell profile-usertitle-name" ></i>{{ .Content }}</h3></a>
</td></tr>
</table>