{% extends '::base.html.twig' %}

{% block title %}Sites{% endblock %}

{% block body %}
    <table class="table table-stripped">
        <thead>
        <tr>
            <th>Id</th>
            <th>Project</th>
            <th>Name</th>
            <th>Live</th>
            <th>Framework Version</th>
            <th>Actions</th>
        </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('site_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
                <td>{% if entity.project %}{{ entity.project.name }}{% endif %}</td>
                <td>{{ entity.name }}</td>
                <td>{{ entity.live }}</td>
                <td>{{ entity.frameworkVersion }}</td>
                <td>
                    <ul>
                        <li>
                            <a href="{{ path('site_show', { 'id': entity.id }) }}">show</a>
                        </li>
                        <li>
                            <a href="{{ path('site_edit', { 'id': entity.id }) }}">edit</a>
                        </li>
                    </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <ul>
        <li>
            <a href="{{ path('site_new') }}">
                Create a new entry
            </a>
        </li>
    </ul>
{% endblock %}

{% extends '::base.html.twig' %}

{% block title %}Sites{% endblock %}

{% block body %}
    <table class="table table-stripped">
        <thead>
        <tr>
            <th>Id</th>
            <th>Project</th>
            <th>Name</th>
            <th>Live</th>
            <th>Framework</th>
            <th>Framework Version</th>
            <th>Actions</th>
        </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('site_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
                <td>{% if entity.project %}{{ entity.project.name }}{% endif %}</td>
                <td>{{ entity.name }}</td>
                <td>{{ entity.live }}</td>
                <td>{{ entity.framework ? entity.framework.name : '' }}</td>
                <td>{{ entity.frameworkVersion }}</td>
                <td>
                    <ul>
                        <li>
                            <a href="{{ path('site_show', { 'id': entity.id }) }}">show</a>
                        </li>
                        <li>
                            <a href="{{ path('site_edit', { 'id': entity.id }) }}">edit</a>
                        </li>
                    </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

    <ul>
        <li>
            <a href="{{ path('site_new') }}">
                Create a new entry
            </a>
        </li>
    </ul>
{% endblock %}

Add framework name to the lsit
Add framework name to the lsit
