Added no cases row to experts screen if expert has no cases

This commit is contained in:
Zak Timson 2017-09-17 23:24:10 -04:00
parent 96c1880d45
commit 57aad8e385

View File

@ -40,6 +40,11 @@
<td class="p-2" width="150px">{{ case.published }}</td> <td class="p-2" width="150px">{{ case.published }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if not expert.cases.all %}
<tr>
<td class="text-muted">No Cases</td>
</tr>
{% endif %}
</tbody> </tbody>
</table> </table>
</div> </div>