linstrom/frontend-old-ember/app/components/note/content.hbs
mStar 88398334fe
JS frontend stuff
Move old ember frontend to properly named folder
Add vue based new frontend
2025-07-07 21:48:39 +02:00

19 lines
No EOL
436 B
Handlebars

<div class="note-content">
<p class="note-content-text">{{this.visibleContent}}</p>
{{#if this.canExpand}}
{{#if this.collapsed}}
<div
type="button"
class="note-content-toggle"
{{on "click" this.expand}}
>{{t "note.expand"}}</div>
{{else}}
<div
type="button"
class="note-content-toggle"
{{on "click" this.collapse}}
>{{t "note.collapse"}}</div>
{{/if}}
{{/if}}
</div>