Commit 49339d78 authored by Marc Ducobu's avatar Marc Ducobu
Browse files

Amelioration UI

parent 58cd4be3
Pipeline #197 failed with stage
......@@ -37,8 +37,8 @@
<td>{% if report.date %}{{ report.date|localizeddate('long', 'none') }}{% endif %}</td>
<td>{{ report.cFGroup.getName(app.request.locale) }}</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_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'Update 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 }) }}" class="sc-button bt-update">{{ 'Update' | trans }}</a></td>
</tr>
{% endfor %}
</tbody>
......
......@@ -22,26 +22,23 @@
{% block personcontent %}
<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>
<h2 class="chill-red">{{ 'Details'|trans }}</h2>
<dl>
<dt class="inline">{{ 'Person'|trans }}</dt>
<dt>{{ 'Person'|trans }}&nbsp;:</dt>
<dd>{{ entity.person }}</dd>
<dt class="inline">{{ 'Scope'|trans }}</dt>
<dt>{{ 'Scope'|trans }}&nbsp;:</dt>
<dd><span class="scope">{{ entity.scope.name|localize_translatable_string }}</span></dd>
<dt class="inline">{{ 'Date'|trans }}</dt>
<dt>{{ 'Date'|trans }}&nbsp;:</dt>
<dd>{{ entity.date|localizeddate('long', 'none') }}</dd>
<dt class="inline">{{ 'User'|trans }}</dt>
<dt>{{ 'User'|trans }}&nbsp;:</dt>
<dd>{{ entity.user }}</dd>
<dt class="inline">{{ 'Report type'|trans }}</dt>
<dt>{{ 'Report type'|trans }}&nbsp;:</dt>
<dd>{{ entity.cFGroup.getName(app.request.locale) }}</dd>
{{ chill_custom_fields_group_widget(entity.cFData, entity.cFGroup) }}
</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 %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment