html: Render headline priority
This commit is contained in:
parent
a861437185
commit
0e64f9df7f
4 changed files with 11 additions and 1 deletions
|
@ -197,6 +197,10 @@ func (w *HTMLWriter) writeHeadline(h Headline) {
|
|||
if h.Status != "" {
|
||||
w.WriteString(fmt.Sprintf(`<span class="todo">%s</span>`, h.Status) + "\n")
|
||||
}
|
||||
if h.Priority != "" {
|
||||
w.WriteString(fmt.Sprintf(`<span class="priority">%s</span>`, h.Priority) + "\n")
|
||||
}
|
||||
|
||||
w.WriteString(title)
|
||||
if len(h.Tags) != 0 {
|
||||
tags := make([]string, len(h.Tags))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue