From 25f90bc6255f6d087d8f755e7896ab0574f499c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Wed, 25 Mar 2020 20:22:40 -0700 Subject: [PATCH] Restore original read/unread button in entry view --- template/html/entry.html | 6 +++--- template/views.go | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/template/html/entry.html b/template/html/entry.html index 484b5a39..9452c39e 100644 --- a/template/html/entry.html +++ b/template/html/entry.html @@ -13,12 +13,12 @@ {{ if eq .entry.Status "read" }}✔ {{ t "entry.status.read" }}{{ else }}✘ {{ t "entry.status.unread" }}{{ end }} + >{{ if eq .entry.Status "unread" }}✔ {{ t "entry.status.read" }}{{ else }}✘ {{ t "entry.status.unread" }}{{ end }}
  • {{ if eq .entry.Status "read" }}✔ {{ t "entry.status.read" }}{{ else }}✘ {{ t "entry.status.unread" }}{{ end }} + >{{ if eq .entry.Status "unread" }}✔ {{ t "entry.status.read" }}{{ else }}✘ {{ t "entry.status.unread" }}{{ end }}