Requirements fields: requirement, dataType and description can be optional

This commit is contained in:
Konrad Podgórski 2013-10-30 16:38:32 +01:00
parent 769b435cf3
commit 4a831c3a20

View File

@ -68,9 +68,9 @@
{% for name, infos in data.requirements %}
<tr>
<td>{{ name }}</td>
<td>{{ infos.requirement }}</td>
<td>{{ infos.dataType }}</td>
<td>{{ infos.description }}</td>
<td>{{ infos.requirement is defined ? infos.requirement : ''}}</td>
<td>{{ infos.dataType is defined ? infos.dataType : ''}}</td>
<td>{{ infos.description is defined ? infos.description : ''}}</td>
</tr>
{% endfor %}
</tbody>