mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
allow forcing of name if needed
This commit is contained in:
parent
132713850a
commit
8cfd14120c
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ export default Ember.Component.extend(StringBuffer, {
|
||||||
className += " num";
|
className += " num";
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer.push("<th data-sort-order='" + options.order + "' class='"+ className +"'>" + I18n.t(options.name) + sortIcon + "</th>");
|
var name = options.forceName || I18n.t(options.name);
|
||||||
|
|
||||||
|
buffer.push("<th data-sort-order='" + options.order + "' class='"+ className +"'>" + name + sortIcon + "</th>");
|
||||||
},
|
},
|
||||||
|
|
||||||
renderString: function(buffer){
|
renderString: function(buffer){
|
||||||
|
|
Loading…
Reference in a new issue