-
+ |
Index: lams_tool_assessment/web/pages/monitoring/parts/questionsummary.jsp
===================================================================
diff -u -r01b83879c6046c2e7e37b7d16937b7d4d4fbbc25 -r9007e50ca508c5ec3312cd880e6df2d1ec3dab1e
--- lams_tool_assessment/web/pages/monitoring/parts/questionsummary.jsp (.../questionsummary.jsp) (revision 01b83879c6046c2e7e37b7d16937b7d4d4fbbc25)
+++ lams_tool_assessment/web/pages/monitoring/parts/questionsummary.jsp (.../questionsummary.jsp) (revision 9007e50ca508c5ec3312cd880e6df2d1ec3dab1e)
@@ -105,7 +105,7 @@
{name:'confidence', index:'confidence', width: 80, search:false, classes: 'vertical-align', formatter: gradientNumberFormatter},
- {name:'rating', index:'rating', width:120, align:"center", search:false},
+ {name:'rating', index:'rating', width:120, align:"center", sortable:false, search:false},
{name:'response', index:'response', width:400, sortable:false, search:false},
{name:'userId', index:'userId', width:0, hidden: true},
@@ -172,13 +172,12 @@
height: "100%",
autowidth:true,
autoencode:false,
+ cmTemplate: { title: false, search: false, sortable: false},
guiStyle: "bootstrap",
iconSet: 'fontAwesome',
colNames:[
'ratingId',
- '',
- '',
- '',
+ '',
'',
'',
'userId',
@@ -187,13 +186,16 @@
colModel:[
{name:'ratingId', index:'ratingId', width:0, hidden:true},
{name:'userName',index:'userName', width: 35, formatter : function(cellvalue, options, rowObject) {
+ var columnParts = rowObject[1].split(' '),
+ userName = columnParts[0];
// get portrait UUID, user ID and user name
- return definePortraitPopover(rowObject[rowObject.length - 1], rowObject[rowObject.length - 2], rowObject[1]);
+ userName = definePortraitPopover(rowObject[rowObject.length - 1], rowObject[rowObject.length - 2], userName);
+ columnParts[0] = userName;
+ columnParts[1] = '' + columnParts[1] + '';
+ return columnParts.join(' ');
}},
- {name:'group', index:'group', width: 25, title:false},
- {name:'date', index:'date', width: 39, title:false},
- {name:'rating', index:'rating', width: 20, align:"center", title:false},
- {name:'comment', index:'comment', title:false},
+ {name:'rating', index:'rating', width: 10, align:"center"},
+ {name:'comment', index:'comment'},
{name:'userId', index:'userId', width:0, hidden: true},
{name:'portraitId', index:'portraitId', width:0, hidden: true}
],
|