From 57aad8e3852266634dce7805e1a77f18de6f3b57 Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Sun, 17 Sep 2017 23:24:10 -0400 Subject: [PATCH] Added no cases row to experts screen if expert has no cases --- expert_witnesses/templates/expertViewer.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/expert_witnesses/templates/expertViewer.html b/expert_witnesses/templates/expertViewer.html index eea5377..ea6ea1d 100644 --- a/expert_witnesses/templates/expertViewer.html +++ b/expert_witnesses/templates/expertViewer.html @@ -40,6 +40,11 @@ {{ case.published }} {% endfor %} + {% if not expert.cases.all %} + + No Cases + + {% endif %}