]> Raphaël G. Git Repositories - airbundle/commitdiff
Remove useless rapsys_air_location_view link
authorRaphaël Gertz <git@rapsys.eu>
Mon, 19 Oct 2020 07:55:53 +0000 (09:55 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 19 Oct 2020 07:55:53 +0000 (09:55 +0200)
Add link to location it in data table

Resources/views/session/view.html.twig

index 1369cdbe38afbc83fea6a91ccba87d22d4834376..fe341d56a47b1097b54477726a8a6c0b269efd02 100644 (file)
@@ -2,7 +2,6 @@
 {% block content %}
 <section id="session">
        <h2>
 {% block content %}
 <section id="session">
        <h2>
-               <a href="{{ path('rapsys_air_location_view', {'id': session.location.id}) }}">{{ session.location.title }}</a>
                <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}">{{ session.title }}</a>
        </h2>
        <section class="panel">
                <a href="{{ path('rapsys_air_session_view', {'id': session.id}) }}">{{ session.title }}</a>
        </h2>
        <section class="panel">
@@ -31,7 +30,7 @@
                                        {% if session.application is null %}
                                                <dd>{% trans %}None{% endtrans %}</dd>
                                        {% else %}
                                        {% if session.application is null %}
                                                <dd>{% trans %}None{% endtrans %}</dd>
                                        {% else %}
-                                               <dd>{{ session.application.user.title }}</dd>
+                                               <dd><a href="{{ path('rapsys_air_user_view', {'id': session.application.user.id}) }}">{{ session.application.user.title }}</a></dd>
                                        {% endif %}
                                </dl>
                                <dl class="cell">
                                        {% endif %}
                                </dl>
                                <dl class="cell">