improve grouping header

This commit is contained in:
Dietmar Maurer 2011-11-04 11:30:30 +01:00
parent 3406680af1
commit ca03c7cd0a

View File

@ -206,7 +206,7 @@ Ext.define('PVE.storage.ContentView', {
var sm = Ext.create('Ext.selection.RowModel', {});
var groupingFeature = Ext.create('Ext.grid.feature.Grouping',{
groupHeaderTpl: 'ContentType: {name} ({rows.length} Item{[values.rows.length > 1 ? "s" : ""]})'
groupHeaderTpl: '{[ PVE.Utils.format_content_types(values.name) ]} ({rows.length} Item{[values.rows.length > 1 ? "s" : ""]})'
});
var reload = function() {