Revision af505a94 snf-cyclades-app/synnefo/ui/static/snf/js/lib/rivets.conf.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/lib/rivets.conf.js | ||
---|---|---|
31 | 31 |
return prefix + value.toString(); |
32 | 32 |
}, |
33 | 33 |
|
34 |
list_truncate: function(value, size) { |
|
35 |
size = size === undefined ? 38 : size; |
|
36 |
return synnefo.util.truncate(value, size); |
|
37 |
}, |
|
38 |
|
|
34 | 39 |
collection_size: function(col) { |
35 | 40 |
return col.models.length; |
36 | 41 |
}, |
Also available in: Unified diff