diff --git a/template/common.go b/template/common.go index 79e7b7cf..1a85700f 100644 --- a/template/common.go +++ b/template/common.go @@ -149,6 +149,12 @@ SOFTWARE. {{ end }} +{{ define "icon_unstar" }} + + + + +{{ end }} {{ define "icon_save" }} @@ -255,20 +261,20 @@ SOFTWARE. {{ if eq .entry.Status "read" }}✘ {{ t "entry.status.unread" }}{{ else }}✔ {{ t "entry.status.read" }}{{ end }} + >{{ if eq .entry.Status "read" }}{{ template "icon_unread" }}{{ else }}{{ template "icon_read" }}{{ end }}{{ if eq .entry.Status "read" }}{{ t "entry.status.unread" }}{{ else }}{{ t "entry.status.read" }}{{ end }} {{ if .entry.Starred }}★ {{ t "entry.bookmark.toggle.off" }}{{ else }}☆ {{ t "entry.bookmark.toggle.on" }}{{ end }} + >{{ if .entry.Starred }}{{ template "icon_unstar" }}{{ else }}{{ template "icon_star" }}{{ end }}{{ if .entry.Starred }}{{ t "entry.bookmark.toggle.off" }}{{ else }}{{ t "entry.bookmark.toggle.on" }}{{ end }} {{ if .entry.ShareCode }} @@ -468,6 +474,18 @@ SOFTWARE. + + {{ template "icon_read" }} + + + {{ template "icon_unread" }} + + + {{ template "icon_star" }} + + + {{ template "icon_unstar" }} +