2014-10-25 17:12:56 +02:00
|
|
|
<div class="post-notes">
|
|
|
|
<% _.each(notes, function(note) { %>
|
|
|
|
<div class="post-note"
|
2014-10-26 12:39:55 +01:00
|
|
|
style="left: <%= note.left %>%;
|
|
|
|
top: <%= note.top %>%;
|
|
|
|
width: <%= note.width %>%;
|
|
|
|
height: <%= note.height %>%">
|
2014-10-25 15:02:46 +02:00
|
|
|
|
2014-10-25 17:12:56 +02:00
|
|
|
<div class="text-wrapper">
|
|
|
|
<div class="text">
|
2014-10-26 01:01:16 +02:00
|
|
|
<%= formatMarkdown(note.text) %>
|
2014-10-25 17:12:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-25 15:02:46 +02:00
|
|
|
|
2014-10-25 17:12:56 +02:00
|
|
|
</div>
|
|
|
|
<% }) %>
|
|
|
|
</div>
|
2014-10-26 01:01:16 +02:00
|
|
|
|
|
|
|
<form class="post-note-edit">
|
|
|
|
<textarea></textarea>
|
|
|
|
<div class="actions"><!--
|
|
|
|
--><% if (privileges.canEditPostNotes) { %><!--
|
|
|
|
--><button type="submit" name="sender" value="save">Save</button><!--
|
|
|
|
--><% } %><!--
|
|
|
|
--><button type="submit" name="sender" value="cancel">Cancel</button><!--
|
|
|
|
--><% if (privileges.canDeletePostNotes) { %><!--
|
|
|
|
--><button type="submit" name="sender" value="remove">Remove</button><!--
|
|
|
|
--><% } %><!--
|
|
|
|
--></div>
|
|
|
|
</form>
|