Messages now sending/loading and populating on message dropdown
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
{{ range .Messages }}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
<a href="/account/messages/{{ .ID }}" class="fw-bold text-dark">{{ .Subject }}</a><br>
|
||||
<a href="/account/messages/read?={{ .ID }}" class="fw-bold text-dark">{{ .Subject }}</a><br>
|
||||
<small class="text-muted">{{ .CreatedAt.Format "02 Jan 2006 15:04" }}</small>
|
||||
</div>
|
||||
<form method="POST" action="/account/messages/archive" class="m-0">
|
||||
@@ -19,7 +19,6 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<!-- (Optional) Pagination if you have helpers wired -->
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{ if gt .CurrentPage 1 }}
|
||||
|
||||
Reference in New Issue
Block a user