                 <a href="" title="Show comment" class="hide-deleted-comment hidden">(Hide deleted comment)</a>
                 <div class="comment-body wysiwyg"><%= deleteComment %></div>
             </div>
-            <a href="" class="comment-restore" data-activity-id="<%- activityId %>">
-                <span class="icon icon-reload"></span>
-                <span>Restore comment</span>
-            </a>
+            <% if (canRestoreComment) { %>
+                <a href="" class="comment-restore" data-activity-id="<%- activityId %>">
+                    <span class="icon icon-reload"></span>
+                    <span>Restore comment</span>
+                </a>
+            <% } %>
         </div>
     """)
 

                <div class="comment wysiwyg">
                    <%= comment %>
                </div>
                <% if (!deleteCommentDate && mode !== "activity") { %>
                    <a href="" class="icon icon-delete comment-delete" data-activity-id="<%- activityId %>"></a>
                <% } %>
            <% } %>

                changes: renderChangeEntries(comment, false)
                mode: "comment"
                deleteCommentDate: moment(comment.delete_comment_date).format("DD MMM YYYY HH:mm") if comment.delete_comment_date
                deleteCommentUser: comment.delete_comment_user.name if comment.delete_comment_user?.name
                activityId: comment.id
                canDeleteComment: comment.user.pk == $scope.user.id or $scope.project.my_permissions.indexOf("modify_project") > -1
            })

        renderChange = (change) ->
