Stop using OTW symbols

master
trémeur 2 weeks ago
parent 8ddca86ff0
commit abdb1abdbc

@ -185,31 +185,31 @@ def ficsum(ficcount,year,month=0,showfandom=True,local=False):
ficstring += ", "
if language:
ficstring += language
ficstring += "</a>"
ficstring += "</a>&nbsp;<span class=\"ficinfo\">"
if rating == "g":
ficstring += "&nbsp;<span style=\"background-color:#8ab60b;color:white; font-family:serif\">&nbsp;U&nbsp;</span>"
ficstring += "<span title=\"universal\">🟢</span>"
elif rating == "t":
ficstring += "&nbsp;<span style=\"background-color:#e8d405;color:white; font-family:serif\">&nbsp;G&nbsp;</span>"
ficstring += "<span title=\"general\">🟡</span>"
elif rating == "m":
ficstring += "&nbsp;<span style=\"background-color:#eb7d10;color:white; font-family:serif\">&nbsp;M&nbsp;</span>"
ficstring += "<span title=\"mature\">🟠</span>"
elif rating == "e":
ficstring += "&nbsp;<span style=\"background-color:#9c0000;color:white; font-family:serif\">&nbsp;X&nbsp;</span>"
ficstring += "<span title=\"explicit\">🔴</span>"
for thegenre in genre:
if thegenre == "gen":
ficstring += "&nbsp;<span style=\"background-color:#8ab60b;color:white; font-family:serif\">&nbsp;☉&nbsp;</span>"
ficstring += "<span title=\"gen\">⭕</span>"
elif thegenre == "slash":
ficstring += "&nbsp;<span style=\"background-color:#1256b6;color:white; font-family:serif\">&nbsp;♂&nbsp;</span>"
ficstring += "<span title=\"slash\">👨👨</span>"
elif thegenre == "het":
ficstring += "&nbsp;<span style=\"background-color:#670840;color:white; font-family:serif\">&nbsp;⚤&nbsp;</span>"
ficstring += "<span title=\"het\">👨👩</span>"
elif thegenre == "femslash":
ficstring += "&nbsp;<span style=\"background-color:#d50636;color:white; font-family:serif\">&nbsp;♀&nbsp;</span>"
ficstring += "<span title=\"femslash\">👩👩</span>"
elif thegenre == "poly":
ficstring += "&nbsp;<span><span style=\"background:linear-gradient(0deg, rgba(160,0,24,1) 0%, rgba(160,0,24,1) 49%, rgba(171,203,0,1) 50%, rgba(171,203,0,1) 100%);\">&nbsp;&nbsp;</span><span style=\"background: linear-gradient(0deg, rgba(0,51,148,1) 0%, rgba(0,51,148,1) 49%, rgba(129,0,108,1) 50%, rgba(129,0,108,1) 100%);\">&nbsp;&nbsp;</span></span>"
ficstring += "<span title=\"poly\">🧑➕</span>"
elif thegenre == "other":
ficstring += "&nbsp;<span style=\"background-color:black;color:white; font-family:serif\">&nbsp;☿&nbsp;</span>"
ficstring += "<span title=\"misc. romance/sex\">💖</span>"
if warnings:
ficstring += "&nbsp;<span style=\"background-color:#eb7d10;color:white; font-family:serif\">&nbsp;!<small>?</small>&nbsp;</span>"
ficstring += "&nbsp;<code>" + str(words) + "</code>"
ficstring += "<span title=\"see notes for warnings\">❗</span>"
ficstring += "</span>&nbsp;<code>" + str(words) + "</code>"
return ficstring
"""

Loading…
Cancel
Save