remove dummy "empty" vars, just check if the arrays are empty

This commit is contained in:
Andrew Croce
2018-07-31 12:07:25 -04:00
committed by richard-dds
parent 6973443f36
commit 6db9db3f7d
3 changed files with 3 additions and 15 deletions

View File

@@ -1,12 +1,8 @@
{% extends "base_workspace.html.to" %}
{% block template_vars %}
{% set projectsEmpty = False %}
{% end %}
{% block workspace_content %}
{% if projectsEmpty %}
{% if not projects %}
{% module EmptyState(
'There are currently no projects set up for this Workspace.',