No notifications are sent for appearing in a journal, but profile popovers etc. all work like mentions anywhere else in a topic.
22 lines
586 B
Plaintext
22 lines
586 B
Plaintext
import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
|
|
import { depthClass } from "../lib/hledger-report";
|
|
import HledgerMention from "./hledger-mention";
|
|
|
|
const HledgerAccountCell = <template>
|
|
<td
|
|
class={{dConcatClass
|
|
"hledger-dashboard__account"
|
|
(depthClass @row.depth)
|
|
(if @boldRoot "--root")
|
|
}}
|
|
title={{@row.account}}
|
|
>
|
|
{{#if @row.mention}}<HledgerMention
|
|
@username={{@row.mention.username}}
|
|
@text={{@row.mention.text}}
|
|
/>{{else}}{{@row.label}}{{/if}}
|
|
</td>
|
|
</template>;
|
|
|
|
export default HledgerAccountCell;
|