Overview and sidebar: no phase badges; modules open on their main page
The Overview's module cards drop their "Phase 1"–"Phase 5" badges. The Content module opens on Posts and the SEO module on the Morning check, from the sidebar and from the Overview. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
{{range .Modules}}
|
||||
{{if .Link}}
|
||||
<a class="card module" href="{{.Link}}">
|
||||
<h3>{{template "icon" .ID}}{{.Name}} <span class="badge">{{.Phase}}</span></h3>
|
||||
<h3>{{template "icon" .ID}}{{.Name}}</h3>
|
||||
<p>{{.Body}}</p>
|
||||
{{if eq .ID "content"}}<span class="stat">{{if $inbox}}{{$inbox}} waiting in Posts{{else}}No posts waiting{{end}}{{with $.Data.Scheduled}} · {{.}} scheduled{{end}}</span>{{end}}
|
||||
</a>
|
||||
{{else}}
|
||||
<section class="card module later">
|
||||
<h3>{{template "icon" .ID}}{{.Name}} <span class="badge">{{.Phase}}</span></h3>
|
||||
<h3>{{template "icon" .ID}}{{.Name}}</h3>
|
||||
<p>{{.Body}}</p>
|
||||
</section>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user