Show item description in grid view based on 'In List View' property

This commit is contained in:
Nabin Hait
2015-06-05 15:49:25 +05:30
parent 27d7f21553
commit 6bf301f53c
2 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{% $.each(visible_columns || [], function(i, df) { %}
{% var val = doc.get_formatted(df.fieldname);
if(val) { %}
if((df.fieldname !== "description") && val) { %}
<div class="row">
<div class="col-xs-4 text-ellipsis">
<strong title="{%= __(df.label) %}">{%= __(df.label) %}:</strong>