mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 11:04:59 +08:00
Also show new sub-category badge in the message at the bottom of a topic
This commit is contained in:
parent
a40896bb55
commit
ac32b1c5a5
|
@ -189,7 +189,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
|
|||
}
|
||||
|
||||
if (category) {
|
||||
opts.catLink = Discourse.HTML.categoryLink(category);
|
||||
opts.catLink = Discourse.HTML.categoryLink(category, {showParent: true});
|
||||
} else {
|
||||
opts.catLink = "<a href=\"" + Discourse.getURL("/categories") + "\">" + I18n.t("topic.browse_all_categories") + "</a>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user