mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Only show delete options when thread has more than one message!
This commit is contained in:
@@ -205,8 +205,9 @@ script(type='text/ng-template', id='commentEntryTemplate')
|
||||
span.rp-comment-actions(ng-if="comment.user.isSelf && !comment.deleting")
|
||||
| •
|
||||
a(href, ng-click="startEditing(comment)") Edit
|
||||
| •
|
||||
a(href, ng-click="confirmDelete(comment)") Delete
|
||||
span(ng-if="threads[entry.thread_id].messages.length > 1")
|
||||
| •
|
||||
a(href, ng-click="confirmDelete(comment)") Delete
|
||||
span.rp-confim-delete(ng-if="comment.user.isSelf && comment.deleting")
|
||||
| Are you sure?
|
||||
| •
|
||||
|
||||
Reference in New Issue
Block a user