From 9ba9858bea1779e39b9ce264b1d70d08e456a8b9 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 28 Aug 2018 20:46:15 -0700 Subject: Use regular text version of ✔︎ instead of emoji version on iOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See this workaround: https://stackoverflow.com/questions/32639694/ios-9-removed-the-possibility-to-change-certain-symbol-colors-using-css/38362138#38362138 --- template/common.go | 6 +++--- template/html/common/item_meta.html | 4 ++-- template/html/entry.html | 4 ++-- template/views.go | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'template') diff --git a/template/common.go b/template/common.go index 947252d..52e440b 100644 --- a/template/common.go +++ b/template/common.go @@ -64,10 +64,10 @@ var templateCommonMap = map[string]string{ {{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }} + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }} @@ -242,7 +242,7 @@ var templateCommonMap = map[string]string{ var templateCommonMapChecksums = map[string]string{ "entry_pagination": "756ef122f3ebc73754b5fc4304bf05e59da0ab4af030b2509ff4c9b4a74096ce", - "item_meta": "2da78476f6c7fb8742c969ad1bfc20b7b61fddf97d79a77baf3cabda52f6fb49", + "item_meta": "d85d1ae181120b7a3d38173b3990a0c2a5cf706cabdfb00c4d002a09271de51e", "layout": "2491695e33a496c9bd902a2cb5bc3a6a540f98ac7c24591d503a77ba0f5f0ebe", "pagination": "b592d58ea9d6abf2dc0b158621404cbfaeea5413b1c8b8b9818725963096b196", } diff --git a/template/html/common/item_meta.html b/template/html/common/item_meta.html index fd548f6..ec51397 100644 --- a/template/html/common/item_meta.html +++ b/template/html/common/item_meta.html @@ -40,10 +40,10 @@ {{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }} + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }} diff --git a/template/html/entry.html b/template/html/entry.html index a368e24..25388b8 100644 --- a/template/html/entry.html +++ b/template/html/entry.html @@ -12,10 +12,10 @@ {{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }} + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }}
  • {{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }} + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }}