mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 02:09:30 +00: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…
x
Reference in New Issue
Block a user