discourse/app/assets/javascripts/admin/addon/routes/admin-badges-index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
587 B
JavaScript
Raw Normal View History

import Route from "@ember/routing/route";
2019-01-23 05:29:51 -05:00
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 Route.extend({
2019-01-23 05:29:51 -05:00
setupController(controller) {
controller.setProperties({
badgeIntroLinks,
badgeIntroEmoji: emojiUrlFor("woman_student:t4"),
});
},
});