14 lines
No EOL
628 B
Handlebars
14 lines
No EOL
628 B
Handlebars
<div class="note">
|
|
{{!-- TODO: figure out how to make the entire note clickable for opening with something like {{on "click" (fn this.openFullView)}} --}}
|
|
<Note::UserHeader
|
|
@displayname="{{@note.displayname}}"
|
|
@handle="@{{@note.username}}@{{@note.server}}"
|
|
/>
|
|
<Note::Content @content="{{@note.content}}" />
|
|
<div class="note-timestamps-container">
|
|
{{#if @note.editedAt}}
|
|
<p class="note-timestamp" id="note-edited-timestamp">Edited: {{moment-format @note.editedAt}}</p>
|
|
{{/if}}
|
|
<p class="note-timestamp" id="note-created-timestamp">Posted: {{moment-format @note.createdAt ""}}</p>
|
|
</div>
|
|
</div> |