{{$name := .name}}
{{range .messages}}
<div class="box listEntry" id="{{.ID}}">
	<div class="subject">{{.Subject}}</div>
	<div class="from">{{.From}}</div>
	<div class="date">{{friendlyTime .Date}}</div>
</div>
{{else}}
<div class="box">
	<p style="height: 30px; padding-left: 10px;">No messages!</p>
</div>
{{end}}
