removed slider ui

This commit is contained in:
Rushabh Mehta
2012-03-22 11:37:08 +05:30
44 changed files with 630 additions and 574 deletions

View File

@@ -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'}}
]