]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/session/view.html.twig
Shorten air bundle route aliases
[airbundle] / Resources / views / session / view.html.twig
index 1466a96ad845f928cb0999d100e5ab3709df21e5..3c345f95408f5ac9fca139f64ea91f09685554e4 100644 (file)
@@ -1,8 +1,9 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article class="session{% if session.locked is defined and session.locked %} locked{% elseif session.application.canceled is defined and session.application.canceled %} canceled{% endif %}">
                <header>
-                       <h2>{{ description }}</h2>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
                </header>
                <div class="panel">
                        <div class="grid three">
                                                                                <section class="cell">
                                                                                        <header>
                                                                                                {% if application.user.id == 1 and application.user.title|slug == 'milonga-raphael' %}
-                                                                                                       <h3><a href="{{ path('rapsys_air_user_milongaraphael') }}">{{ application.user.title }}</a></h3>
+                                                                                                       <h3><a href="{{ path('rapsysair_user_milongaraphael') }}">{{ application.user.title }}</a></h3>
                                                                                                {% else %}
-                                                                                                       <h3><a href="{{ path('rapsys_air_user_view', {'id': application.user.id, 'user': application.user.title|slug}) }}">{{ application.user.title }}</a></h3>
+                                                                                                       <h3><a href="{{ path('rapsysair_user_view', {'id': application.user.id, 'user': application.user.title|slug}) }}">{{ application.user.title }}</a></h3>
                                                                                                {% endif %}
                                                                                        </header>
                                                                                        <dl>