mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Add toggle status button to entry page
This commit is contained in:
parent
4f62a704e2
commit
5341bbcbe2
11 changed files with 57 additions and 30 deletions
|
@ -84,6 +84,7 @@ func (c *Controller) ShowUnreadEntry(w http.ResponseWriter, r *http.Request) {
|
|||
html.ServerError(w, nil)
|
||||
return
|
||||
}
|
||||
entry.Status = model.EntryStatusRead
|
||||
|
||||
sess := session.New(c.store, ctx)
|
||||
view := view.New(c.tpl, ctx, sess)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue