show item description in item grid view if marked for 'In List View'

This commit is contained in:
Nabin Hait
2015-06-02 14:32:18 +05:30
parent 42f2674cba
commit c87595b2da
14 changed files with 23 additions and 23 deletions

View File

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