Inventory is now the Market
Everything the user sees says Market: the sidebar, titles, breadcrumbs, help text, messages, suggestions and the agent tool's description; the export downloads as supermarket-market.yaml. Its pages live under /market, and the old /inventory addresses redirect there (308, so a form's POST stays a POST). The YAML format (inventory:), the database and the code's names are unchanged, so exported files still import. A breadcrumb no longer repeats the page's own title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{define "content"}}{{with .Data}}
|
||||
<h1>Sources</h1>
|
||||
<p class="lede">Pick an inventory entry to fetch its latest news, choose what to write about, and get a draft for each channel to review under <a href="/posts">Posts</a>.</p>
|
||||
<p class="lede">Pick a Market entry to fetch its latest news, choose what to write about, and get a draft for each channel to review under <a href="/posts">Posts</a>.</p>
|
||||
|
||||
{{if .Rows}}
|
||||
<table class="list">
|
||||
@@ -15,7 +15,7 @@
|
||||
{{else}}
|
||||
<td><a href="/content/{{.Entry.ID}}">{{.Name}}</a></td>
|
||||
<td><span class="badge {{.Entry.Relationship}}">{{.Entry.Relationship}}</span></td>
|
||||
<td>{{if .Sources}}{{join .Sources ", "}}{{else}}<span class="muted">none: <a href="/inventory/{{.Entry.ID}}">add some</a></span>{{end}}</td>
|
||||
<td>{{if .Sources}}{{join .Sources ", "}}{{else}}<span class="muted">none: <a href="/market/{{.Entry.ID}}">add some</a></span>{{end}}</td>
|
||||
{{end}}
|
||||
<td>{{if .Waiting}}{{.Waiting}}{{end}}</td>
|
||||
<td>{{ago .LastChecked}}</td>
|
||||
@@ -25,7 +25,7 @@
|
||||
</table>
|
||||
{{else}}
|
||||
<section class="card empty">
|
||||
<p>Add the partners and competitors you post about to the <a href="/inventory">Inventory</a> first.</p>
|
||||
<p>Add the partners and competitors you post about to the <a href="/market">Market</a> first.</p>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}{{end}}
|
||||
|
||||
Reference in New Issue
Block a user