{% var total_cols=0; for (var i=0, l=columns.length; i < l; i++ ) { var col = columns[i], value=data[col.fieldname]; total_cols += parseInt(col.colspan); %} {% if (total_cols <= 12) { %}
{% if(col.type!=="Indicator") { %}{% } %} {% if (col.type==="Subject") { %} {%= subject %} {% } else if (col.type==="Indicator") { %} {%= list.get_indicator(data) %} {% } else if (col.render) { %} {%= col.render(data) %} {% } else if (col.fieldtype==="Image") { %} {% if(data[col.df.options]) { %} {% } else { %}
{% } %} {% } else if(col.fieldtype==="Select") { %} {%= __(value) %} {% } else if(col.fieldtype==="Link") { %} {%= value %} {% } else { %} {% if(list.settings.formatters && list.settings.formatters[col.fieldname]) { %} {{ list.settings.formatters[col.fieldname](value, col.df, data) }} {% } else { %} {{ frappe.format(value, col.df, null, data) }} {% } %} {% } %} {% if(col.type!=="Indicator") { %}
{% } %}
{% } %} {% } %}