Ver Fonte

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
Frédéric Guillot há 7 anos atrás
pai
commit
9ba9858bea
4 ficheiros alterados com 10 adições e 10 exclusões
  1. 3 3
      template/common.go
  2. 2 2
      template/html/common/item_meta.html
  3. 2 2
      template/html/entry.html
  4. 3 3
      template/views.go

+ 3 - 3
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="✔&#xfe0e; {{ 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 }}✔&#xfe0e; {{ 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",
 }

+ 2 - 2
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="✔&#xfe0e; {{ 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 }}✔&#xfe0e; {{ t "Read" }}{{ end }}</a>
         </li>
     </ul>
 </div>

+ 2 - 2
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="✔&#xfe0e; {{ 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 }}✔&#xfe0e; {{ t "Read" }}{{ end }}</a>
                 </li>
                 <li>
                     <a href="#"

+ 3 - 3
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="✔&#xfe0e; {{ 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 }}✔&#xfe0e; {{ 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",