Show free assets

This commit is contained in:
2016-12-02 15:39:44 +01:00
parent 5f590a2063
commit 0190cf944a

View File

@@ -376,7 +376,8 @@ script.
nodeId = nodeId.substr(2); nodeId = nodeId.substr(2);
} }
{% if subscription not in ['demo', 'subscriber', 'admin'] and project.url == 'agent-327' %} // XXX temporary lock for agent 327 project
{% if subscription not in ['demo', 'subscriber', 'admin'] and project.url == 'agent-327' and not node.permissions.world %}
var url = '/join-agent'; var url = '/join-agent';
{% else %} {% else %}
var url = '/nodes/' + nodeId + '/view'; var url = '/nodes/' + nodeId + '/view';