ajout dans le menu du changement
continuous-integration/drone/push Build is failing Details

Hugo PRADIER 3 weeks ago
parent 8c00ef03ee
commit fea312dd8a

@ -21,8 +21,8 @@ framework:
#esi: true #esi: true
#fragments: true #fragments: true
set_locale_from_accept_language: true # set_locale_from_accept_language: true
set_content_language_from_locale: true # set_content_language_from_locale: true
when@test: when@test:
framework: framework:

@ -16,11 +16,15 @@
<nav class="navbar navbar-expand-lg bg-body-tertiary"> <nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="{{ path('app_species_index') }}">Herbarium</a> <a class="navbar-brand" href="{{ path('app_species_index') }}">Herbarium</a>
{% if app.user %} <div class="navbar-nav ms-auto">
<a class="nav-link" href="{{ path('app_logout') }}">{{ app.user.email }} - {{ 'log_out'|trans }}</a> <a class="nav-link" href="{{ path('app_setting_locale', { 'locale': 'en' }) }}">English</a>
{% else %} <a class="nav-link" href="{{ path('app_setting_locale', { 'locale': 'fr' }) }}">Français</a>
<a class="nav-link" href="{{ path('app_login') }}">{{ 'sign_in'|trans }}</a> {% if app.user %}
{% endif %} <a class="nav-link" href="{{ path('app_logout') }}">{{ app.user.email }} - {{ 'log_out'|trans }}</a>
{% else %}
<a class="nav-link" href="{{ path('app_login') }}">{{ 'sign_in'|trans }}</a>
{% endif %}
</div>
</div> </div>
</nav> </nav>
<div class="container my-4"> <div class="container my-4">

@ -11,7 +11,7 @@
<th>Id</th> <th>Id</th>
<th>{{ 'scientific_name'|trans }}</th> <th>{{ 'scientific_name'|trans }}</th>
<th>{{ 'vernacular_name'|trans }}</th> <th>{{ 'vernacular_name'|trans }}</th>
<th>Region</th> <th>{{ 'region'|trans }}</th>
<th>Actions</th> <th>Actions</th>
</tr> </tr>
</thead> </thead>

@ -149,6 +149,10 @@
<source>edit_species</source> <source>edit_species</source>
<target>Edit species</target> <target>Edit species</target>
</trans-unit> </trans-unit>
<trans-unit id="sczbhz" resname="edit_post">
<source>edit_post</source>
<target>Edit post</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

@ -149,6 +149,10 @@
<source>edit_species</source> <source>edit_species</source>
<target>Éditer l'espèce</target> <target>Éditer l'espèce</target>
</trans-unit> </trans-unit>
<trans-unit id="sczbhz" resname="edit_post">
<source>edit_post</source>
<target>Éditer la publication</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

Loading…
Cancel
Save