From 19e1ed8b32179e3317c807b3ab0581e3b5fb00a2 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 4 Jul 2018 00:14:37 +0100 Subject: Implement forum parser to increase accuracy --- app/templates/macros/topictable.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/templates/macros/topictable.html') diff --git a/app/templates/macros/topictable.html b/app/templates/macros/topictable.html index a0c5b1e..7ae8a35 100644 --- a/app/templates/macros/topictable.html +++ b/app/templates/macros/topictable.html @@ -11,12 +11,12 @@ {% for topic in topics %} {{ topic.topic_id }} - [{{ topic.getType().value }}] {{ topic.title }} + [{{ topic.type.value }}] {{ topic.title }} {% if show_author %} {{ topic.author.display_name}} {% endif %} {{ topic.name or ""}} - {{ topic.link | domain }} + {% if topic.link %}{{ topic.link | domain }}{% endif %} Create -- cgit v1.2.3