add title to report box in timeline

This commit is contained in:
Julien Fastré 2015-02-27 17:42:31 +01:00
parent 2efa187bfa
commit df9fb881b1

View File

@ -1,4 +1,5 @@
<div class="report"> <div class="report">
<h3>{{ 'Report'|trans }}</h3>
<div class="statement"> <div class="statement">
<span class="statement">{{ '%user% has filled a %report_label% report on %date%'|trans( <span class="statement">{{ '%user% has filled a %report_label% report on %date%'|trans(
{ {
@ -10,6 +11,8 @@
</div> </div>
{% if custom_fields_in_summary|length > 0 %} {% if custom_fields_in_summary|length > 0 %}
<div class="summary"> <div class="summary">
<hr/>
<dl>
{% for field in custom_fields_in_summary %} {% for field in custom_fields_in_summary %}
{% if field.type == 'title' %} {% if field.type == 'title' %}
{{ chill_custom_field_widget(report.cFData, field) }} {{ chill_custom_field_widget(report.cFData, field) }}
@ -18,6 +21,7 @@
<dd>{{ chill_custom_field_widget(report.cFData, field) }}</dd> <dd>{{ chill_custom_field_widget(report.cFData, field) }}</dd>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</dl>
</div> </div>
{% endif %} {% endif %}
</div> </div>