mirror of
https://ghfast.top/https://github.com/discourse/discourse-cakeday.git
synced 2026-07-16 11:47:40 +08:00
18 lines
474 B
JavaScript
18 lines
474 B
JavaScript
import Controller from "@ember/controller";
|
|
import { action } from "@ember/object";
|
|
import computed from "discourse/lib/decorators";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
export default class CakedayBirthdaysTomorrowController extends Controller {
|
|
@computed
|
|
title() {
|
|
return i18n("birthdays.today.title", {
|
|
date: moment().add(1, "day").format(i18n("dates.full_no_year_no_time")),
|
|
});
|
|
}
|
|
|
|
@action
|
|
loadMore() {
|
|
this.get("model").loadMore();
|
|
}
|
|
}
|