mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08:00
allow forcing of name if needed
This commit is contained in:
parent
132713850a
commit
8cfd14120c
|
@ -33,7 +33,9 @@ export default Ember.Component.extend(StringBuffer, {
|
|||
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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user