Sign-ins and failed ones, everything admins do to users, connections, posting accounts, each post published and email sent, pull requests and deletions go in an audit log (schema 36), kept two years; admins read it under Settings → Activity. Drafts, published posts and outreach emails show who made them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
958 B
HTML
23 lines
958 B
HTML
{{define "content"}}{{with .Data}}
|
|
<h1>Published</h1>
|
|
<p class="lede">The last 200 posts Supermarket published.</p>
|
|
|
|
{{if .Drafts}}
|
|
<table class="list">
|
|
<thead><tr><th>When</th><th>Channel</th><th>Entry</th><th>Post</th></tr></thead>
|
|
<tbody>
|
|
{{range .Drafts}}
|
|
<tr>
|
|
<td>{{.PublishedAt.Local.Format "2 Jan 2006 15:04"}}</td>
|
|
<td>{{.Where}}{{with .PostedAs}}<br><span class="muted small">as {{.}}</span>{{end}}{{with by .PostedBy}}<br><span class="muted small">{{.}}</span>{{end}}</td>
|
|
<td>{{.InventoryName}}</td>
|
|
<td class="post-text">{{if .PostURL}}<a href="{{.PostURL}}" target="_blank" rel="noopener noreferrer">{{if .Title}}<strong>{{.Title}}</strong> {{end}}{{truncate 200 .Content}}</a>{{else}}{{if .Title}}<strong>{{.Title}}</strong> {{end}}{{truncate 200 .Content}}{{end}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
{{else}}
|
|
<section class="card empty"><p>Nothing published yet.</p></section>
|
|
{{end}}
|
|
{{end}}{{end}}
|