Show source label in message list header
This commit is contained in:
parent
167ba9577d
commit
2467437c5c
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func renderMessageList(w http.ResponseWriter, account, folder, q string) {
|
||||||
if q != "" {
|
if q != "" {
|
||||||
filtered = filterEntries(path, entries, q)
|
filtered = filterEntries(path, entries, q)
|
||||||
}
|
}
|
||||||
fmt.Fprintf(w, `<div class="pane-head">%s / %s (%d)</div>`, html.EscapeString(account), html.EscapeString(folder), len(filtered))
|
fmt.Fprintf(w, `<div class="pane-head">%s / %s (%d)</div>`, html.EscapeString(sourceAccountLabel(account)), html.EscapeString(folder), len(filtered))
|
||||||
fmt.Fprintf(w, `<form class="searchbar" hx-get="/view" hx-target="#list" hx-swap="innerHTML">
|
fmt.Fprintf(w, `<form class="searchbar" hx-get="/view" hx-target="#list" hx-swap="innerHTML">
|
||||||
<input type="hidden" name="account" value="%s">
|
<input type="hidden" name="account" value="%s">
|
||||||
<input type="hidden" name="folder" value="%s">
|
<input type="hidden" name="folder" value="%s">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue