mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
12 lines
327 B
JavaScript
12 lines
327 B
JavaScript
import ButtonView from 'discourse/views/button';
|
|
|
|
export default ButtonView.extend({
|
|
textKey: 'topic.reply.title',
|
|
classNames: ['btn', 'btn-primary', 'create'],
|
|
click: function() {
|
|
this.get('controller').send('showLogin');
|
|
},
|
|
renderIcon: function(buffer) {
|
|
buffer.push("<i class='fa fa-reply'></i>");
|
|
}
|
|
});
|