Ajout de la traduction (#15)
Co-authored-by: hugo.pradier2 <hugo.pradier2@etu.uca.fr> Co-authored-by: clfreville2 <clement.freville2@etu.uca.fr> Reviewed-on: https://codefirst.iut.uca.fr/git/clement.freville2/herbarium/pulls/15 Reviewed-by: Clément FRÉVILLE <clement.freville2@etu.uca.fr> Co-authored-by: Hugo PRADIER <hugo.pradier2@etu.uca.fr> Co-committed-by: Hugo PRADIER <hugo.pradier2@etu.uca.fr>
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Species index{% endblock %}
|
||||
{% block title %}{{ 'species_index'|trans }}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Species index</h1>
|
||||
<h1>{{ 'species_index'|trans }}</h1>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Scientific_name</th>
|
||||
<th>Vernacular_name</th>
|
||||
<th>Region</th>
|
||||
<th>actions</th>
|
||||
<th>{{ 'scientific_name'|trans }}</th>
|
||||
<th>{{ 'vernacular_name'|trans }}</th>
|
||||
<th>{{ 'region'|trans }}</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -23,17 +23,17 @@
|
||||
<td>{{ species.vernacularName }}</td>
|
||||
<td>{{ species.region }}</td>
|
||||
<td>
|
||||
<a href="{{ path('app_species_show', {'id': species.id}) }}">show</a>
|
||||
<a href="{{ path('app_species_edit', {'id': species.id}) }}">edit</a>
|
||||
<a href="{{ path('app_species_show', {'id': species.id}) }}">{{ 'show'|trans }}</a>
|
||||
<a href="{{ path('app_species_edit', {'id': species.id}) }}">{{ 'edit'|trans }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="5">no records found</td>
|
||||
<td colspan="5">{{ 'no_records_found'|trans }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_species_new') }}">Create new</a>
|
||||
<a href="{{ path('app_species_new') }}">{{ 'create_new'|trans }}</a>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user