panel: clearer nav labels and card headings, danger-style Sign out
Rename technical labels (postqueue -p, mail.log tail, Send log/Queue/Log in nav) to plain descriptions, and style Sign out as a deliberate danger action consistent with other destructive buttons.
This commit is contained in:
@@ -105,7 +105,7 @@ func TestNavMarksActivePage(t *testing.T) {
|
||||
t.Fatalf("execute nav: %v", err)
|
||||
}
|
||||
out := buf.String()
|
||||
if !strings.Contains(out, `<span aria-current="page">Queue</span>`) {
|
||||
if !strings.Contains(out, `<span aria-current="page">Mail queue</span>`) {
|
||||
t.Errorf("active page is not marked:\n%s", out)
|
||||
}
|
||||
if strings.Contains(out, `href="/queue"`) {
|
||||
|
||||
Reference in New Issue
Block a user