{% for app, data in app_data.items() %}
<tr data-app="{{ app }}">
    <td>{{ data['title'] }}</td>
    <td class="center"><input type="checkbox" class="app-visible"{% if not data['installed'] %} disabled{% elif data['visible'] %} checked{% endif %}></td>
    <td class="center"><input type="checkbox" class="app-autostart"{% if not data['installed'] %} disabled{% elif data['autostarted'] %} checked{% endif %}></td>
    {% if not data['actions'] %}
    <td colspan="2">{{ data['status']|safe }}</td>
    {% else %}
    <td>{{ data['status']|safe }}</td>
    <td>{{ data['actions']|safe }}</td>
    {% endif %}
</tr>
{% endfor %}
