mirror of
https://github.com/discourse/discourse-solved.git
synced 2026-09-18 07:22:14 -04:00
Added empty box icon to unsolved topics
This commit is contained in:
@@ -223,6 +223,13 @@ export default {
|
||||
title: I18n.t('solved.has_accepted_answer'),
|
||||
icon: 'check-square-o'
|
||||
});
|
||||
}else if(this.topic.can_have_answer && this.siteSettings.solved_enabled && this.siteSettings.empty_box_on_unsolved){
|
||||
results.push({
|
||||
openTag: 'span',
|
||||
closeTag: 'span',
|
||||
title: I18n.t('solved.no_accepted_answer'),
|
||||
icon: 'square-o'
|
||||
});
|
||||
}
|
||||
return results;
|
||||
}.property()
|
||||
|
||||
Reference in New Issue
Block a user