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);
|
2015-06-08 08:52:56 +00:00
|
|
|
if((df.fieldname !== "description" && df.fieldname !== "item_name") && val) { %}
|
2014-07-29 10:37:43 +00:00
|
|
|
<div class="row">
|
2016-11-02 02:04:17 +00:00
|
|
|
<div class="col-xs-4 ellipsis">
|
2014-08-11 06:58:32 +00:00
|
|
|
<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>
|
2015-07-02 09:39:18 +00:00
|
|
|
{% } else if (df.fieldname==="description") { %}
|
|
|
|
<p>{{ doc.description }}</p>
|
2014-07-29 10:37:43 +00:00
|
|
|
{% } %}
|
|
|
|
{% }); %}
|