mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +08:00
24 lines
546 B
Plaintext
24 lines
546 B
Plaintext
|
import { emojiUrlFor } from "discourse/lib/text";
|
||
|
|
||
|
const badgeIntroLinks = [
|
||
|
{
|
||
|
text: "admin.badges.badge_intro.what_are_badges_title",
|
||
|
href: "https://meta.discourse.org/t/32540",
|
||
|
icon: "book"
|
||
|
},
|
||
|
{
|
||
|
text: "admin.badges.badge_intro.badge_query_examples_title",
|
||
|
href: "https://meta.discourse.org/t/18978",
|
||
|
icon: "book"
|
||
|
}
|
||
|
];
|
||
|
|
||
|
export default Ember.Route.extend({
|
||
|
setupController(controller) {
|
||
|
controller.setProperties({
|
||
|
badgeIntroLinks,
|
||
|
badgeIntroEmoji: emojiUrlFor("woman_student:t4")
|
||
|
});
|
||
|
}
|
||
|
});
|