Commit e7dcb48f authored by pengxiong's avatar pengxiong

Merge remote-tracking branch 'origin/manage' into manage

parents 08101add 7d1b4ee0
...@@ -97,13 +97,13 @@ def translate_single(content, content_id, evaluation): ...@@ -97,13 +97,13 @@ def translate_single(content, content_id, evaluation):
ret.append(v) ret.append(v)
continue continue
elif content[content_id][i][v] in ["优秀", "良好", "高", "高于", "较好"]: elif content[content_id][i][v] in ["优秀", "良好", "高", "高于", "较好"]:
ret.append("""<span class="self_description_red">{}</span>""".format(content[content_id][i][v])) ret.append(content[content_id][i][v])
continue continue
elif content_id == 4 and v == 0: elif content_id == 4 and v == 0:
ret.append("""<span class="self_description_red">{}</span>""".format(content[content_id][i][v])) ret.append(content[content_id][i][v])
continue continue
else: else:
ret.append("""<span class="self_description_green">{}</span>""".format(content[content_id][i][v])) ret.append(content[content_id][i][v])
return tuple(ret) return tuple(ret)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment