mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
UX: 'login to reply' button should match 'reply to topic' button
This commit is contained in:
parent
0463187772
commit
d9371ae631
|
@ -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>");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user