2014-07-29 10:37:43 +00:00
|
|
|
{% $.each(visible_columns || [], function(i, df) { %}
|
2014-07-30 13:02:08 +00:00
|
|
|
{% var val = doc.get_formatted(df.fieldname);
|
2014-07-29 10:37:43 +00:00
|
|
|
if(val) { %}
|
|
|
|
<div class="row">
|
2014-08-11 06:58:32 +00:00
|
|
|
<div class="col-xs-4 text-ellipsis">
|
|
|
|
<strong title="{%= __(df.label) %}">{%= __(df.label) %}:</strong>
|
2014-07-29 10:37:43 +00:00
|
|
|
</div>
|
2014-08-11 06:58:32 +00:00
|
|
|
<div class="col-xs-8">
|
2014-07-30 13:02:08 +00:00
|
|
|
{%= doc.get_formatted(df.fieldname) %}
|
2014-07-29 10:37:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% } %}
|
|
|
|
{% }); %}
|