diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-08-28 20:46:15 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-08-28 20:46:15 -0700 |
commit | 9ba9858bea1779e39b9ce264b1d70d08e456a8b9 (patch) | |
tree | 55a2ed0d6a5d940c13eea92d64a6d593f579bf1e /template | |
parent | 5341bbcbe27fd8a9e73f4eeb18319daf5421dcb4 (diff) |
Use regular text version of ✔︎ instead of emoji version on iOS
See this workaround: https://stackoverflow.com/questions/32639694/ios-9-removed-the-possibility-to-change-certain-symbol-colors-using-css/38362138#38362138
Diffstat (limited to 'template')
-rw-r--r-- | template/common.go | 6 | ||||
-rw-r--r-- | template/html/common/item_meta.html | 4 | ||||
-rw-r--r-- | template/html/entry.html | 4 | ||||
-rw-r--r-- | template/views.go | 6 |
4 files changed, 10 insertions, 10 deletions
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{ <a href="#" title="{{ t "Change entry status" }}" data-toggle-status="true" - data-label-read="✔ {{ t "Read" }}" + data-label-read="✔︎ {{ t "Read" }}" data-label-unread="✘ {{ t "Unread" }}" data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}" - >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }}</a> + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }}</a> </li> </ul> </div> @@ -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 @@ <a href="#" title="{{ t "Change entry status" }}" data-toggle-status="true" - data-label-read="✔ {{ t "Read" }}" + data-label-read="✔︎ {{ t "Read" }}" data-label-unread="✘ {{ t "Unread" }}" data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}" - >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }}</a> + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }}</a> </li> </ul> </div> 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 @@ <a href="#" title="{{ t "Change entry status" }}" data-toggle-status="true" - data-label-read="✔ {{ t "Read" }}" + data-label-read="✔︎ {{ t "Read" }}" data-label-unread="✘ {{ t "Unread" }}" data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}" - >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }}</a> + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }}</a> </li> <li> <a href="#" diff --git a/template/views.go b/template/views.go index 0386de6..1bfa735 100644 --- a/template/views.go +++ b/template/views.go @@ -550,10 +550,10 @@ var templateViewsMap = map[string]string{ <a href="#" title="{{ t "Change entry status" }}" data-toggle-status="true" - data-label-read="✔ {{ t "Read" }}" + data-label-read="✔︎ {{ t "Read" }}" data-label-unread="✘ {{ t "Unread" }}" data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}" - >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }}</a> + >{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔︎ {{ t "Read" }}{{ end }}</a> </li> <li> <a href="#" @@ -1342,7 +1342,7 @@ var templateViewsMapChecksums = map[string]string{ "edit_category": "cee720faadcec58289b707ad30af623d2ee66c1ce23a732965463250d7ff41c5", "edit_feed": "1a8e342e4fac80e8b9c73537c7fe8aaf7f9e3e7af22f411927010897dd37e9c3", "edit_user": "7373e09f805e6c017167001519b9feb04226be6c81c2875cbacd5ce94f2c24bf", - "entry": "26d377a72b9c4f001b769d8a5971a6a9dfff66c87dcfa32c7ab64a5ae138ffd7", + "entry": "1aa2767a879591f0a3681787fc9e2c53e06949695b21106286d190712a9f428a", "feed_entries": "76e7e32cdd6552304e38931459fe12cefdb5354f65a7ac3bbed52a2979896d3e", "feeds": "1006698abfe0962b656f27794bc44568515392da72b6fac0c03316de06024237", "history_entries": "f94e15d37d7604500cede7b583e03bf79c06be81c6597a4a43693f5712af2e13", |