Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Commit

Permalink
Merge branch 'explain_text'
Browse files Browse the repository at this point in the history
  • Loading branch information
runestonetest committed Jul 9, 2020
2 parents cee8497 + a71b396 commit fedfd5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controllers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,9 @@ def _add_q_meta_info(qrow):
book = "🏫"

if res != "":
res = """ <span style="color: green">[{} {}] </span>""".format(book, res)
res = """ <span style="color: green">[{} {} ] </span> <span>{}...</span>""".format(
book, res, qrow.questions.description
)

return res

Expand Down
1 change: 1 addition & 0 deletions models/questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
Field("review_flag", type="boolean"),
Field("qnumber", type="string"),
Field("optional", type="boolean"),
Field("description", type="text"),
migrate=table_migrate_prefix + "questions.table",
)

Expand Down

0 comments on commit fedfd5f

Please sign in to comment.