mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 02:26:33 +00:00
removed slider ui
This commit is contained in:
@@ -27,18 +27,19 @@ wn.doclistviews['Support Ticket'] = wn.views.ListView.extend({
|
||||
}
|
||||
data.status_html = repl('<span class="label label-%(label_type)s">%(status)s</span>', data);
|
||||
|
||||
data.description = data.description + ' | ' + data.subject;
|
||||
|
||||
// description
|
||||
if(data.description && data.description.length > 30) {
|
||||
if(data.description && data.description.length > 50) {
|
||||
data.description = '<span title="'+data.description+'">' + data.description.substr(0,30) + '...</span>';
|
||||
}
|
||||
},
|
||||
|
||||
columns: [
|
||||
{width: '5%', content:'avatar'},
|
||||
{width: '3%', content:'docstatus'},
|
||||
{width: '15%', content:'name'},
|
||||
{width: '8%', content:'status_html'},
|
||||
{width: '60%', content:'tags+subject+description', css: {color:'#aaa'}},
|
||||
{width: '60%', content:'tags+description', css: {color:'#aaa'}},
|
||||
{width: '10%', content:'modified', css: {'text-align': 'right', 'color':'#777'}}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user