Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions frontend/templates/list-annotation-edit.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,31 @@
</div>
</div>

<div id="text-container{{id}}" class="text-container">
<div class="creator-info">
{{t "annotation.author"}}
<span class="user">{{created_by_nickname}}</span>
{{t "annotation.created"}}
<span class="created">{{formatDate created_at}}</span>
{{t "annotation.track"}}
<span class="track">{{track}}</span>
</div>

<div id="accordion-container-{{id}}" class="accordion content-items">
{{#each content}}
{{> (lookup . 'type') annotation=..}}
{{/each}}
</div>

{{#if isMine}}
{{#unless createdFromQuestionnaire}}
<div>
<button class="btn add-content-modal" type="button">
{{t "annotation.add content.list prompt"}}
</button>
</div>
{{/unless}}
{{/if}}
</div>

<div class="comments"></div>