mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-04 16:06:13 +00:00
Amelioration UI
This commit is contained in:
parent
58cd4be383
commit
49339d78fa
@ -37,8 +37,8 @@
|
|||||||
<td>{% if report.date %}{{ report.date|localizeddate('long', 'none') }}{% endif %}</td>
|
<td>{% if report.date %}{{ report.date|localizeddate('long', 'none') }}{% endif %}</td>
|
||||||
<td>{{ report.cFGroup.getName(app.request.locale) }}</td>
|
<td>{{ report.cFGroup.getName(app.request.locale) }}</td>
|
||||||
<td>{{ report.scope.name|localize_translatable_string }}</td>
|
<td>{{ report.scope.name|localize_translatable_string }}</td>
|
||||||
<td><a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'View the report' | trans }}</a></td>
|
<td><a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="sc-button black">{{ 'View' | trans }}</a></td>
|
||||||
<td><a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'Update the report' | trans }}</a></td>
|
<td><a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="sc-button bt-update">{{ 'Update' | trans }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -22,26 +22,23 @@
|
|||||||
|
|
||||||
{% block personcontent %}
|
{% block personcontent %}
|
||||||
|
|
||||||
|
<h2 class="chill-red">{{ 'Details'|trans }}</h2>
|
||||||
<a href="{{ path('report_edit', { 'person_id': entity.person.id, 'report_id': entity.id }) }}"><i class="fa fa-pencil"></i> {{ 'Update the report'|trans }}</a>
|
|
||||||
|
|
||||||
<h2>{{ 'Details'|trans }}</h2>
|
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt class="inline">{{ 'Person'|trans }}</dt>
|
<dt>{{ 'Person'|trans }} :</dt>
|
||||||
<dd>{{ entity.person }}</dd>
|
<dd>{{ entity.person }}</dd>
|
||||||
<dt class="inline">{{ 'Scope'|trans }}</dt>
|
<dt>{{ 'Scope'|trans }} :</dt>
|
||||||
<dd><span class="scope">{{ entity.scope.name|localize_translatable_string }}</span></dd>
|
<dd><span class="scope">{{ entity.scope.name|localize_translatable_string }}</span></dd>
|
||||||
<dt class="inline">{{ 'Date'|trans }}</dt>
|
<dt>{{ 'Date'|trans }} :</dt>
|
||||||
<dd>{{ entity.date|localizeddate('long', 'none') }}</dd>
|
<dd>{{ entity.date|localizeddate('long', 'none') }}</dd>
|
||||||
<dt class="inline">{{ 'User'|trans }}</dt>
|
<dt>{{ 'User'|trans }} :</dt>
|
||||||
<dd>{{ entity.user }}</dd>
|
<dd>{{ entity.user }}</dd>
|
||||||
<dt class="inline">{{ 'Report type'|trans }}</dt>
|
<dt>{{ 'Report type'|trans }} :</dt>
|
||||||
<dd>{{ entity.cFGroup.getName(app.request.locale) }}</dd>
|
<dd>{{ entity.cFGroup.getName(app.request.locale) }}</dd>
|
||||||
|
|
||||||
{{ chill_custom_fields_group_widget(entity.cFData, entity.cFGroup) }}
|
{{ chill_custom_fields_group_widget(entity.cFData, entity.cFGroup) }}
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<a href="{{ path('report_edit', { 'person_id': entity.person.id, 'report_id': entity.id }) }}"><i class="fa fa-pencil"></i> {{ 'Update the report' | trans }}</a>
|
<a class="sc-button bt-update" href="{{ path('report_edit', { 'person_id': entity.person.id, 'report_id': entity.id }) }}"><i class="fa fa-pencil"></i> {{ 'Update the report' | trans }}</a>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user