2014-11-10 09:02:48 +01:00

68 lines
2.0 KiB
Twig

{#
* Copyright (C) 2014, Champs Libres Cooperative SCRLFS, <http://www.champs-libres.coop>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
{% extends "ChillMainBundle::layout.html.twig" %}
{% block content %}
<h1>Report</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>User</th>
<td>{{ entity.user }}</td>
</tr>
<tr>
<th>Person</th>
<td>{{ entity.person }}</td>
</tr>
<tr>
<th>Date</th>
<td>{{ entity.date|date('Y-m-d H:i:s') }}</td>
</tr>
<tr>
<th>Scope</th>
<td>{{ entity.scope }}</td>
</tr>
<tr>
<th>Cfdata</th>
<td>{# { entity.cFData } #}</td>
</tr>
<tr>
<th>Cfgroup</th>
<td>{{ entity.cFGroup.getName(app.request.locale) }}</td>
</tr>
</tbody>
</table>
<ul class="record_actions">
<li>
<a href="{{ path('report') }}">
Back to the list
</a>
</li>
<li>
<a href="{{ path('report_edit', { 'id': entity.id }) }}">
Edit
</a>
</li>
<li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}