1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00

Restore original read/unread button in entry view

This commit is contained in:
Frédéric Guillot 2020-03-25 20:22:40 -07:00
parent c3f3cc085a
commit 25f90bc625
2 changed files with 7 additions and 7 deletions

View file

@ -13,12 +13,12 @@
<a href="#"
title="{{ t "entry.status.title" }}"
data-toggle-status="true"
data-label-read="✘&nbsp;{{ t "entry.status.unread" }}"
data-label-unread="✔︎&nbsp;{{ t "entry.status.read" }}"
data-label-unread="✘&nbsp;{{ t "entry.status.unread" }}"
data-label-read="✔︎&nbsp;{{ t "entry.status.read" }}"
data-toast-read="✘&nbsp;{{ t "entry.status.toast.unread" }}"
data-toast-unread="✔︎&nbsp;{{ t "entry.status.toast.read" }}"
data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}"
><span class="icon-label">{{ if eq .entry.Status "read" }}✔&nbsp;{{ t "entry.status.read" }}{{ else }}✘&nbsp;{{ t "entry.status.unread" }}{{ end }}</span></a>
><span class="icon-label">{{ if eq .entry.Status "unread" }}✔&nbsp;{{ t "entry.status.read" }}{{ else }}✘&nbsp;{{ t "entry.status.unread" }}{{ end }}</span></a>
</li>
<li>
<a href="#"