{% for s in servers %} {{s.1}} {% for p in providers %} {% if p.0|int() == s.2|int() %} {{ p.1 }} {% endif %} {% endfor %} {% if role == 1 %} {% for g in groups %} {% if adding %} {% if user_group|int() == g.0|int() %} {{ g.1 }} {% endif %} {% else %} {% if s.4|int() == g.0|int() %} {{ g.1 }} {% endif %} {% endif %} {% endfor %} {% else %} {% endif %} {% if s.3 == 'do' %} DigitalOcean {% set onclickEditAction = 'editDoServer' %} {% elif s.3 == 'aws' %} AWS {% set onclickEditAction = 'editAwsServer' %} {% endif %} {{s.8}} {{s.9}} {{s.10}} {{s.5}} {% if s.6 == 'Created ' %} {% set style='сolor: green;' %} {% elif s.6 == 'Error ' %} {% set style='color: red;cursor: help;' %} {% endif %} {{s.6}} {{s.7}} {% endfor %}