diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -1523,6 +1523,14 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 1523 | xs_html_raw(" 📌 "))); | 1523 | xs_html_raw(" 📌 "))); |
| 1524 | } | 1524 | } |
| 1525 | 1525 | ||
| 1526 | if (user && is_bookmarked(user, id)) { | ||
| 1527 | /* add a bookmark emoji */ | ||
| 1528 | xs_html_add(score, | ||
| 1529 | xs_html_tag("span", | ||
| 1530 | xs_html_attr("title", L("Bookmarked")), | ||
| 1531 | xs_html_raw(" 🔖 "))); | ||
| 1532 | } | ||
| 1533 | |||
| 1526 | if (strcmp(type, "Question") == 0) { | 1534 | if (strcmp(type, "Question") == 0) { |
| 1527 | /* add the ballot box emoji */ | 1535 | /* add the ballot box emoji */ |
| 1528 | xs_html_add(score, | 1536 | xs_html_add(score, |