UX: 'login to reply' button should match 'reply to topic' button

This commit is contained in:
Arpit Jalan 2016-04-05 12:54:03 +05:30
parent 0463187772
commit d9371ae631

View File

@ -1,12 +1,12 @@
import ButtonView from 'discourse/views/button';
export default ButtonView.extend({
textKey: 'topic.login_reply',
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-user'></i>");
buffer.push("<i class='fa fa-reply'></i>");
}
});