diff --git a/app/templates/todo/list.html b/app/templates/todo/list.html index 2f09cb9b..f9f90e07 100644 --- a/app/templates/todo/list.html +++ b/app/templates/todo/list.html @@ -101,17 +101,23 @@
- {{ total_topics - topics_to_add }} / {{ total_topics }} packages have been been added to cdb, - based on cdb's forum parser. {{ topics_to_add }} remaining. -
+ {% if total_topics > 0 %} ++ {{ total_topics - topics_to_add }} / {{ total_topics }} packages have been been added to cdb, + based on cdb's forum parser. {{ topics_to_add }} remaining. +
-+ The forum topic crawler needs to run at least once for this section to work. +
+ {% endif %} {% endblock %} diff --git a/app/templates/todo/topics.html b/app/templates/todo/topics.html index 8afa3b0c..e51f4ec4 100644 --- a/app/templates/todo/topics.html +++ b/app/templates/todo/topics.html @@ -51,15 +51,21 @@ Topics to be Added- {{ total - topic_count }} / {{ total }} topics have been added as packages to CDB. - {{ topic_count }} remaining. -
-+ {{ total - topic_count }} / {{ total }} topics have been added as packages to CDB. + {{ topic_count }} remaining. +
++ The forum topic crawler needs to run at least once for this section to work. +
+ {% endif %}