- Added `RestoreMessageHandler` and route at `/account/messages/restore` - Updated `users_messages` table to support `archived_at` reset - Added restore button to archived messages template - Ensures archived messages can be moved back into inbox
29 lines
859 B
HTML
29 lines
859 B
HTML
{{ define "content" }}
|
|
<div class="container py-5">
|
|
<h2>{{ .Syndicate.Name }}</h2>
|
|
<p class="text-muted">{{ .Syndicate.Description }}</p>
|
|
|
|
<hr>
|
|
|
|
<h4>Members</h4>
|
|
<ul class="list-group mb-3">
|
|
{{ range .Members }}
|
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
|
<span>{{ .Username }}</span>
|
|
<small class="text-muted">Joined: {{ .JoinedAt.Format "02 Jan 2006" }}</small>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
|
|
{{ if .IsManager }}
|
|
<div class="alert alert-warning">
|
|
<strong>Manager Controls</strong><br>
|
|
You can add or remove members, and manage tickets.
|
|
</div>
|
|
<a href="/account/syndicates/invite?id={{ .Syndicate.ID }}" class="btn btn-outline-primary">Invite Members</a>
|
|
{{ end }}
|
|
|
|
<a href="/account/syndicates" class="btn btn-secondary mt-3">← Back to Syndicates</a>
|
|
</div>
|
|
{{ end }}
|