Only show lock icon when we don't have a valid role

This commit is contained in:
2016-11-29 18:00:54 +01:00
parent e43b0cbccf
commit 98295305fd
2 changed files with 32 additions and 15 deletions

View File

@@ -568,6 +568,11 @@ script.
}
});
/* NOTE: {{ subscription }} is defined in layout.jade */
{% if subscription in ['demo', 'subscriber', 'admin'] %}
$(projectTree).addClass('is_subscriber');
{% endif %}
| {% endblock %}
| {% block comment_scripts %} {% endblock%}