+ + + + + {{ post.type.replace('_', ' ') }} + + + + + + {{ new Date(post.publicationDate).toLocaleDateString('en-US', { + year: + 'numeric', month: 'long', day: 'numeric' + }) }} + + + + + + Rating + + {{ post.rating }} + + + + {{ + post.title }} + + + + + + Authors + + + + + {{ author.charAt(0) }} + + {{ author }} + + + + + + Submitted + By + + + {{ post.submitter.name.charAt(0) }} + + + {{ + post.submitter.name }} + {{ post.submitter.role }} • {{ + post.submitter.email }} + + + + + + + + + + + + Abstract + + + {{ post.abstractText }} + + + + + + Tags + + + #{{ tag.name }} + + + + No tags assigned + + + + + + + + + + + + Attachment + Available + + {{ getFileName(post.attachedFile) }} + + + + + + + + Download + + + + + + + + Comments {{ + totalComments }} + + + + + + + + + + + + + + + {{ submitting ? 'POSTING...' : 'COMMENT' }} + + + + + + + + + {{ comment.author.name.charAt(0) }} + + + + + + {{ + comment.author.name }} + + + + + + + + + + + + + + + + {{ new + Date(comment.createdAt).toLocaleDateString('en-US', { + year: + 'numeric', month: 'long', day: 'numeric' + }) }} + + + + + + CANCEL + + {{ submitting ? 'SAVING...' : 'SAVE' }} + + + + + + {{ comment.hidden ? 'This comment has been hidden.' : comment.content }} + + + + + + + + No comments yet. Be the first! + + + + + +
+ votePost(selectedPost, dir)" @comment-added="() => selectedPost.commentCount++" /> - - - - {{ selectedPost.type.replace('_', ' ') }} - - - - - - {{ new Date(selectedPost.publicationDate).toLocaleDateString('en-US', { - year: - 'numeric', month: 'long', day: 'numeric' - }) }} - - - - - {{ selectedPost.title }} - - - - - - Authors - - - - - {{ author.charAt(0) }} - - {{ author }} - - - - - - Submitted - By - - - {{ selectedPost.submitter.name.charAt(0) }} - - - {{ - selectedPost.submitter.name }} - {{ selectedPost.submitter.role }} • {{ - selectedPost.submitter.email }} - - - - - - - - - - - - - Abstract - - - {{ selectedPost.abstractText }} - - - - - - Tags - - - #{{ tag.name }} - - - - No tags assigned - - - - - - - - - - - - - {{ selectedPost.rating }} - - - - - - - - - - - - - - - - - - - - - - Attachment - Available - - {{ getFileName(selectedPost.attachedFile) }} - - - - - - - - Download - - - - - - - - - Comments - {{ - selectedPost.comments.length }} - - - - - - COMMENT - - - - - - - Be the first to comment! - - - - - - - - {{ - comment.author.name }} - {{ new - Date(comment.created_at).toLocaleDateString() }} - - - {{ comment.content }} - - - - - - - -
- - - - {{ selectedPost.type.replace('_', ' ') }} - - - - - - {{ new Date(selectedPost.publicationDate || - selectedPost.publication_date).toLocaleDateString('en-US', { - year: 'numeric', month: 'long', day: 'numeric' - }) }} - - - - - {{ selectedPost.title }} - - - - - - Authors - - - - {{ author.charAt(0) }} - - {{ author }} - - - - - - - Submitted By - - - {{ selectedPost.submitter.name.charAt(0) }} - - - {{ - selectedPost.submitter.name }} - {{ selectedPost.submitter.role }} - • {{ selectedPost.submitter.email }} - - - - - - - - - - - - - Abstract - - - {{ selectedPost.abstractText || selectedPost.abstract }} - - - - - - - Tags - - - #{{ tag.name }} - - - - No tags assigned - - - - - - - - - - - {{ selectedPost.rating }} - - - - - - - - - - - - - - - - - - - - - - Attachment Available - - {{ getFileName(selectedPost.attachedFile || - selectedPost.attached_file) }} - - - - - - - - Download - - - - - - - - - Comments - - {{ selectedPost.comments?.length || 0 }} - - - - - - - COMMENT - - - - - - - Be the first to comment! - - - - - - - - {{ - comment.author.name }} - {{ new - Date(comment.created_at).toLocaleDateString() }} - - - {{ comment.content }} - - - - - - - -