Skip to content
Snippets Groups Projects
Commit 4f5ad89f authored by root's avatar root
Browse files

Bug in subs

parent 12bfd769
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,8 @@ def generate_subject_row(sub, full=False):
sub.subject_new.shortcode if not full else sub.subject_new.name)
elif sub.subject_new and not sub.subject_old:
subject = "<strong>{}</strong>".format(sub.subject_new.shortcode if not full else sub.subject_new.name)
elif not sub.subject_new and not sub.subject_old:
subject = ""
else:
subject = "<strong>{}</strong>".format(sub.subject_old.shortcode if not full else sub.subject_old.name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment