mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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';
|
import ButtonView from 'discourse/views/button';
|
||||||
|
|
||||||
export default ButtonView.extend({
|
export default ButtonView.extend({
|
||||||
textKey: 'topic.login_reply',
|
textKey: 'topic.reply.title',
|
||||||
classNames: ['btn', 'btn-primary', 'create'],
|
classNames: ['btn', 'btn-primary', 'create'],
|
||||||
click: function() {
|
click: function() {
|
||||||
this.get('controller').send('showLogin');
|
this.get('controller').send('showLogin');
|
||||||
},
|
},
|
||||||
renderIcon: function(buffer) {
|
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